<?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 &amp;quot;Function is not match with any IPP function: ippiAlphaCompC_8u_C1IR&amp;quot; with ipp_custom_lib_tool in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/quot-Function-is-not-match-with-any-IPP-function-ippiAlphaCompC/m-p/1071360#M24538</link>
    <description>&lt;P&gt;I'm trying to create my own shared library using &lt;STRONG&gt;ipp_custom_lib_tool&lt;/STRONG&gt; from&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;IPP 9.0 Update 3 on Ubuntu 14.04.1 64-bit.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I'm using the following export.txt:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;ippiSet_8u_C1R
ippiSet_16u_C1R
ippiAlphaCompC_8u_C1IR
ippiResizeGetSize_8u
ippsMalloc_8u
ippiResizeLinearInit_8u
ippiResizeGetBufferSize_8u
ippiResizeLinear_8u_C1R
ippiResizeGetSize_16u
ippsMalloc_16u
ippiResizeLinearInit_16u
ippiResizeGetBufferSize_16u
ippiResizeLinear_16u_C1R
ippiFree&lt;/PRE&gt;

&lt;P&gt;And running:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;. "$INSTALL_DIR"/bin/compilervars.sh -arch intel64 -platform linux
"$INSTALL_DIR"/ipp/tools/intel64/custom_lib_tool/ipp_custom_lib_tool -l export.txt -o $HOME -p mylib -intel64&lt;/PRE&gt;

&lt;P&gt;The resulting output is:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;Function is not match with any IPP function: ippiAlphaCompC_8u_C1IR
Creating a folder for the project...
Creating main.c file...
Creating export file...
Build for Intel64 architecture...

The library is successfully created in: /home/chris/mylib
Threading mode: single-threaded
&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The .so is generated, but does not contain any symbols for ippiAlphaCompC_8uC1IR. When I do the same thing with ippiAlphaCompC_8u_C1R, everything works correctly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Are the in-place functions not able to be included in the custom lib? Am I missing an option somewhere?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2016 19:17:43 GMT</pubDate>
    <dc:creator>Chris_J_3</dc:creator>
    <dc:date>2016-07-25T19:17:43Z</dc:date>
    <item>
      <title>"Function is not match with any IPP function: ippiAlphaCompC_8u_C1IR" with ipp_custom_lib_tool</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/quot-Function-is-not-match-with-any-IPP-function-ippiAlphaCompC/m-p/1071360#M24538</link>
      <description>&lt;P&gt;I'm trying to create my own shared library using &lt;STRONG&gt;ipp_custom_lib_tool&lt;/STRONG&gt; from&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;IPP 9.0 Update 3 on Ubuntu 14.04.1 64-bit.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I'm using the following export.txt:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;ippiSet_8u_C1R
ippiSet_16u_C1R
ippiAlphaCompC_8u_C1IR
ippiResizeGetSize_8u
ippsMalloc_8u
ippiResizeLinearInit_8u
ippiResizeGetBufferSize_8u
ippiResizeLinear_8u_C1R
ippiResizeGetSize_16u
ippsMalloc_16u
ippiResizeLinearInit_16u
ippiResizeGetBufferSize_16u
ippiResizeLinear_16u_C1R
ippiFree&lt;/PRE&gt;

&lt;P&gt;And running:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;. "$INSTALL_DIR"/bin/compilervars.sh -arch intel64 -platform linux
"$INSTALL_DIR"/ipp/tools/intel64/custom_lib_tool/ipp_custom_lib_tool -l export.txt -o $HOME -p mylib -intel64&lt;/PRE&gt;

&lt;P&gt;The resulting output is:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;Function is not match with any IPP function: ippiAlphaCompC_8u_C1IR
Creating a folder for the project...
Creating main.c file...
Creating export file...
Build for Intel64 architecture...

The library is successfully created in: /home/chris/mylib
Threading mode: single-threaded
&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The .so is generated, but does not contain any symbols for ippiAlphaCompC_8uC1IR. When I do the same thing with ippiAlphaCompC_8u_C1R, everything works correctly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Are the in-place functions not able to be included in the custom lib? Am I missing an option somewhere?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 19:17:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/quot-Function-is-not-match-with-any-IPP-function-ippiAlphaCompC/m-p/1071360#M24538</guid>
      <dc:creator>Chris_J_3</dc:creator>
      <dc:date>2016-07-25T19:17:43Z</dc:date>
    </item>
    <item>
      <title>I've solved this myself,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/quot-Function-is-not-match-with-any-IPP-function-ippiAlphaCompC/m-p/1071361#M24539</link>
      <description>&lt;P&gt;I've solved this myself, albeit in a sub-optimal way.&lt;/P&gt;

&lt;P&gt;I purposely made it so ipp_custom_lib_tool fails to build the .so, leaving the generated build files (build_intel64.sh, mylib.def, and main.c) in the destination directory.&lt;/P&gt;

&lt;P&gt;I modified mylib.def to include the function I wanted and ran build_intel64.sh with my custom def additions.&lt;/P&gt;

&lt;P&gt;The result is an .so with all the symbols I specified.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:22:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/quot-Function-is-not-match-with-any-IPP-function-ippiAlphaCompC/m-p/1071361#M24539</guid>
      <dc:creator>Chris_J_3</dc:creator>
      <dc:date>2016-07-26T19:22:36Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/quot-Function-is-not-match-with-any-IPP-function-ippiAlphaCompC/m-p/1071362#M24540</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;The list of IPPI functions matched by the tool is in "ipp_custom_lib_tool/src/ippi_list.h" file.&lt;/P&gt;

&lt;P&gt;Unfortunately, in IPP 9.0.3 it is static and may be not fully synchronized with actual content of IPP library (include/ippi.h file).&lt;/P&gt;

&lt;P&gt;If you update this&amp;nbsp;ippi_list.h file&amp;nbsp;with function list from ippi.h&amp;nbsp;(you can use grep and any of programmable text editor) and rebuild ipp_custom_lib_tool application, you must be able to build what you want.&lt;/P&gt;

&lt;P&gt;We updated this tool with ability to generate the list of functions "on-the-fly" from content of IPP "include" directory, but this feature will be available in new versions of IPP only.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 06:56:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/quot-Function-is-not-match-with-any-IPP-function-ippiAlphaCompC/m-p/1071362#M24540</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2016-07-27T06:56:27Z</dc:date>
    </item>
  </channel>
</rss>

