<?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   in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151075#M26294</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I thought I would add some more precise details in hope to get some reply.&lt;/P&gt;

&lt;P&gt;I created the list of ipp symbols used in my dylib (Mac OS) with:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;nm libMylib.dylib |grep 'U _ipp'| sed -E 's/^[ ]+U _(.+)$/\1/' &amp;gt; /tmp/ippFuncs.txt&lt;/PRE&gt;

&lt;P&gt;Then I went to the custom_library_tool :&lt;/P&gt;

&lt;PRE class="brush:;"&gt;cd /opt/intel/compilers_and_libraries_2018.1.126/mac/ipp/tools/custom_library_tool&lt;/PRE&gt;

&lt;P&gt;and I tried to create a custom library with:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;./ipp_custom_library_tool  -n libMyCustLib -l /tmp/ippFuncs.txt  -o /tmp/ipp_customs/ -intel64  -macos&lt;/PRE&gt;

&lt;P&gt;I got many warnings for missing symbols:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;Warning: ippiCrossCorrSame_NormLevel_32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_32f_C3R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_32f_C4R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u32f_C3R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u32f_C4R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u_C1RSfs doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u_C3RSfs doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u_C4RSfs doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_32f_C3R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_32f_C4R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_8u32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_8u32f_C3R doesn't match with any Intel(R) IPP function
&lt;/PRE&gt;

&lt;P&gt;This is because my libMylib.dylib is linked against ipp2015.7&amp;nbsp; but the ipp_custom_library_tool seems to want to use the 2018 IPP libraries to build the custom library.&lt;/P&gt;

&lt;P&gt;Any hint on possibly building a custom library for the 2015.7 (or any older IPP libraries) ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Mar 2018 22:25:46 GMT</pubDate>
    <dc:creator>georgiswan</dc:creator>
    <dc:date>2018-03-14T22:25:46Z</dc:date>
    <item>
      <title>Building a custom DLL from the command line for an old IPP distribution</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151074#M26293</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to build a custom IPP DLL with the command line tool&amp;nbsp;&amp;nbsp;ipp_custom_library_tool .&lt;/P&gt;

&lt;P&gt;I have&amp;nbsp; &amp;nbsp; compilers_and_libraries_2018&amp;nbsp; installed&amp;nbsp; and I find the custom library&amp;nbsp; tool in&amp;nbsp; &amp;nbsp;/opt/intel/ipp/tools/custom_library_tool .&lt;/P&gt;

&lt;P&gt;I have created a file with the list of needed symbols and they are recognized by the tool.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My problem is that we actually link with and use and old&amp;nbsp; IPP (&amp;nbsp;composer_xe_2015.7.234 )&amp;nbsp; but we compile with 2018. The&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;custom_library_tool does not exist (to my knowledge) in that old 2015 distribution and when I use the -c option of&amp;nbsp;custom_library_tool&amp;nbsp; to point to the old distribution, I get an error:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Error: Compilers and Libraries files aren't found&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If I dont use -c, the tool completes but warns about many not found symbols that exist in 2015.7&amp;nbsp; but do not anymore in 2018 (ex:&amp;nbsp;ippiErode3x3_32f_C3IR ).&lt;/P&gt;

&lt;P&gt;Is it possible to build a custom library from an old IPP distribution ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Gilbert&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 17:41:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151074#M26293</guid>
      <dc:creator>georgiswan</dc:creator>
      <dc:date>2018-03-09T17:41:39Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151075#M26294</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I thought I would add some more precise details in hope to get some reply.&lt;/P&gt;

&lt;P&gt;I created the list of ipp symbols used in my dylib (Mac OS) with:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;nm libMylib.dylib |grep 'U _ipp'| sed -E 's/^[ ]+U _(.+)$/\1/' &amp;gt; /tmp/ippFuncs.txt&lt;/PRE&gt;

&lt;P&gt;Then I went to the custom_library_tool :&lt;/P&gt;

&lt;PRE class="brush:;"&gt;cd /opt/intel/compilers_and_libraries_2018.1.126/mac/ipp/tools/custom_library_tool&lt;/PRE&gt;

&lt;P&gt;and I tried to create a custom library with:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;./ipp_custom_library_tool  -n libMyCustLib -l /tmp/ippFuncs.txt  -o /tmp/ipp_customs/ -intel64  -macos&lt;/PRE&gt;

&lt;P&gt;I got many warnings for missing symbols:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;Warning: ippiCrossCorrSame_NormLevel_32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_32f_C3R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_32f_C4R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u32f_C3R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u32f_C4R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u_C1RSfs doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u_C3RSfs doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_NormLevel_8u_C4RSfs doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_32f_C3R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_32f_C4R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_8u32f_C1R doesn't match with any Intel(R) IPP function
Warning: ippiCrossCorrSame_Norm_8u32f_C3R doesn't match with any Intel(R) IPP function
&lt;/PRE&gt;

&lt;P&gt;This is because my libMylib.dylib is linked against ipp2015.7&amp;nbsp; but the ipp_custom_library_tool seems to want to use the 2018 IPP libraries to build the custom library.&lt;/P&gt;

&lt;P&gt;Any hint on possibly building a custom library for the 2015.7 (or any older IPP libraries) ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 22:25:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151075#M26294</guid>
      <dc:creator>georgiswan</dc:creator>
      <dc:date>2018-03-14T22:25:46Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151076#M26295</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Another question regarding the ipp_custom_library_tool,&amp;nbsp; will such a custom library contain the symbols for all architectures ?&lt;/P&gt;

&lt;P&gt;For example, if my library needs&amp;nbsp; &amp;nbsp;ippsSet_16s&amp;nbsp; &amp;nbsp;will I get it for e9, g9, m7, mx, p8, .&amp;nbsp; So that my custom library can be used to build an application that could run on any architecture ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 22:31:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151076#M26295</guid>
      <dc:creator>georgiswan</dc:creator>
      <dc:date>2018-03-14T22:31:06Z</dc:date>
    </item>
    <item>
      <title>These two functions was</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151077#M26296</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;These two functions was deprecated in the old release, and not included in the latest pacakge:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Could you use the following new functions to replace the old one?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;ippiCrossCorrSame_NormLevel_32f_C1R&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;&amp;nbsp; ippiCrossCorrNorm_32f_C1R+algType=ippiROISame|ippiNormCoefficient&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;ippiCrossCorrSame_Norm_32f_C1R&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ippiCrossCorrNorm_32f_C1R+algType=ippiROISame|ippiNorm&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;yes, it is right.&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;ipp_custom_library_tool build the library for multiple processors, and it will do the runtime dispatch for your code.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Chao&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Mar 2018 03:31:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Building-a-custom-DLL-from-the-command-line-for-an-old-IPP/m-p/1151077#M26296</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2018-03-26T03:31:51Z</dc:date>
    </item>
  </channel>
</rss>

