<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Building IPP dependent code with PGOPTI instrumentation in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123208#M25629</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to build some code I've "inherited", that depends on IPP, with PGOPTI instrumentation for code coverage.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;While doing so I'm running into linking issues such as:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;/home/src/sdk/intel/IPP/lib/linux64/libippi.a(pimorphologyca_y8---ippiDilate_8u_C1R.o): In function `y8_ippiDilate_8u_C1R':&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;pimorphologyca_y8---ippiDilate_8u_C1R.i:(.text+0x15c): undefined reference to `y8_ippsMalloc_64s'&lt;BR /&gt;
	pimorphologyca_y8---ippiDilate_8u_C1R.i:(.text+0x2c3): undefined reference to `y8_ippsFree'&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;My guess is that the disabling of automatic CPU specialization is interfering with CPU dispatching in IPP libraries, but I've been unable to work around this.&lt;/P&gt;

&lt;P&gt;Is this not possible to do and do I need to explicitly disable instrumentation on the components that link with IPP libraries?&lt;/P&gt;

&lt;P&gt;Could anyone provide some assistance?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Hugo&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2016 15:03:09 GMT</pubDate>
    <dc:creator>Hugo_P_</dc:creator>
    <dc:date>2016-12-28T15:03:09Z</dc:date>
    <item>
      <title>Building IPP dependent code with PGOPTI instrumentation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123208#M25629</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to build some code I've "inherited", that depends on IPP, with PGOPTI instrumentation for code coverage.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;While doing so I'm running into linking issues such as:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;/home/src/sdk/intel/IPP/lib/linux64/libippi.a(pimorphologyca_y8---ippiDilate_8u_C1R.o): In function `y8_ippiDilate_8u_C1R':&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;pimorphologyca_y8---ippiDilate_8u_C1R.i:(.text+0x15c): undefined reference to `y8_ippsMalloc_64s'&lt;BR /&gt;
	pimorphologyca_y8---ippiDilate_8u_C1R.i:(.text+0x2c3): undefined reference to `y8_ippsFree'&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;My guess is that the disabling of automatic CPU specialization is interfering with CPU dispatching in IPP libraries, but I've been unable to work around this.&lt;/P&gt;

&lt;P&gt;Is this not possible to do and do I need to explicitly disable instrumentation on the components that link with IPP libraries?&lt;/P&gt;

&lt;P&gt;Could anyone provide some assistance?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Hugo&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 15:03:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123208#M25629</guid>
      <dc:creator>Hugo_P_</dc:creator>
      <dc:date>2016-12-28T15:03:09Z</dc:date>
    </item>
    <item>
      <title>Hi Hugo,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123209#M25630</link>
      <description>&lt;P&gt;Hi Hugo,&lt;/P&gt;

&lt;P&gt;Is your command line for linker correct?&amp;nbsp;I mean, does it contain all required IPP libraries? In other words, is linking without PGOPTI ok?&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 05:27:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123209#M25630</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2016-12-29T05:27:11Z</dc:date>
    </item>
    <item>
      <title>Right,  ippiDilate may depend</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123210#M25631</link>
      <description>&lt;P&gt;Right,&amp;nbsp; &lt;EM&gt;ippiDilate may depend on ippi.a ipps.a [ippvm.a]&amp;nbsp;ippcore.a (in order). &lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 06:52:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123210#M25631</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-12-29T06:52:43Z</dc:date>
    </item>
    <item>
      <title>Hello Sergey,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123211#M25632</link>
      <description>&lt;P&gt;Hello Sergey,&lt;/P&gt;

&lt;P&gt;Yes, I forgot to mention, but linking without PGOPTI is fine.&lt;/P&gt;

&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;The linker command doesn't depend on PGOPTI instrumentation and includes the mentioned static libraries. Explicitly these and in this order:&lt;/P&gt;

&lt;P&gt;-lippcc -lippvc -lippi -lipps -lippvm -lippcore&lt;/P&gt;

&lt;P&gt;Interestingly though, later on the linker command, some of these libraries appear again, like this:&lt;/P&gt;

&lt;P&gt;-lippvc -lippi&lt;/P&gt;

&lt;P&gt;Note, no reference to ipps or ippcore at that point.&lt;/P&gt;

&lt;P&gt;I found this strange. It looks like another library that is in the component's CMakeLists.txt list of &lt;EM&gt;target_link_libraries&amp;nbsp;&lt;/EM&gt;has ippvc and ippi as dependencies. Adding ipps and ippcore to that solves the linking issue.&lt;/P&gt;

&lt;P&gt;Why it linked fine without PGOPTI I don't know.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Hugo&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 11:28:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-IPP-dependent-code-with-PGOPTI-instrumentation/m-p/1123211#M25632</guid>
      <dc:creator>Hugo_P_</dc:creator>
      <dc:date>2016-12-29T11:28:15Z</dc:date>
    </item>
  </channel>
</rss>

