<?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 Difference between static and dynamic libraries usage in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884457#M10532</link>
    <description>&lt;P&gt;Gennadii,&lt;/P&gt;
&lt;P&gt;1) with the practical point , the are no big performance difference ( if any) between static or dynamic linking with IPP.&lt;/P&gt;
&lt;P&gt;2) you cannot set the number of treads multithreading environment because of you linked non-threaded static libs. If you want to use the Intel IPP functions threaded with the OpenMP*, you need to link to&lt;BR /&gt;ipp*emerged.lib, ipp*merged_t.lib, ippsemerged.lib, ippsmerged_t.lib, ippcore_t.lib, and libiomp5mt.lib.&lt;/P&gt;
&lt;P&gt;then, as an example, the code&lt;/P&gt;
&lt;P&gt;int numThr = 2;&lt;BR /&gt; st = ippSetNumThreads(numThr);&lt;BR /&gt; printf("%d : %s\n", st, ippGetStatusString(st));&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;0 : ippStsNoErr: No error, it's OK&lt;/P&gt;
--Gennady&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Feb 2010 18:36:32 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-02-24T18:36:32Z</dc:date>
    <item>
      <title>Difference between static and dynamic libraries usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884456#M10531</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;Can anybody tell me what difference between usage static or dynamic IPP libraries (from performance point of view).&lt;/P&gt;
&lt;P&gt;Currently I am using static libraries. But I cannot set the number of threads in the multithreading &lt;BR /&gt;environment (ippSetNumThreads returns ippStsNoOperation).&lt;/P&gt;
&lt;P&gt;I understand that this function is not supported in static version of libraries (even if I added openmp support).&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Gennadii&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2010 13:58:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884456#M10531</guid>
      <dc:creator>gennadii_mog</dc:creator>
      <dc:date>2010-02-24T13:58:12Z</dc:date>
    </item>
    <item>
      <title>Difference between static and dynamic libraries usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884457#M10532</link>
      <description>&lt;P&gt;Gennadii,&lt;/P&gt;
&lt;P&gt;1) with the practical point , the are no big performance difference ( if any) between static or dynamic linking with IPP.&lt;/P&gt;
&lt;P&gt;2) you cannot set the number of treads multithreading environment because of you linked non-threaded static libs. If you want to use the Intel IPP functions threaded with the OpenMP*, you need to link to&lt;BR /&gt;ipp*emerged.lib, ipp*merged_t.lib, ippsemerged.lib, ippsmerged_t.lib, ippcore_t.lib, and libiomp5mt.lib.&lt;/P&gt;
&lt;P&gt;then, as an example, the code&lt;/P&gt;
&lt;P&gt;int numThr = 2;&lt;BR /&gt; st = ippSetNumThreads(numThr);&lt;BR /&gt; printf("%d : %s\n", st, ippGetStatusString(st));&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;0 : ippStsNoErr: No error, it's OK&lt;/P&gt;
--Gennady&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Feb 2010 18:36:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884457#M10532</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-02-24T18:36:32Z</dc:date>
    </item>
    <item>
      <title>Difference between static and dynamic libraries usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884458#M10533</link>
      <description>&lt;P&gt;Gennady,&lt;/P&gt;
&lt;P&gt;I am using mac version of IPP libraries that is why I don't have these libraries (I have theirs mac analoug). But I don't have libiomp5mt. Only libiomp.&lt;/P&gt;
&lt;P&gt;Can you please tell me where I can get it?&lt;/P&gt;
&lt;P&gt;I am using libiomp5 and libguide.&lt;/P&gt;
&lt;P&gt;Thanks, Gennadii&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2010 08:24:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884458#M10533</guid>
      <dc:creator>gennadii_mog</dc:creator>
      <dc:date>2010-02-25T08:24:48Z</dc:date>
    </item>
    <item>
      <title>Difference between static and dynamic libraries usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884459#M10534</link>
      <description>&lt;P&gt;Gennady,&lt;/P&gt;
&lt;P&gt;Your answer very helped me. Now ippSetNumThreads returns ippStsNoErr.&lt;/P&gt;
&lt;P&gt;But I have another question:&lt;/P&gt;
&lt;P&gt;When I changed the number of threads in ippSetNumThreads then I don't see any threads count changes in System Monitor.&lt;/P&gt;
&lt;P&gt;Can you explain why it so? And what should I do for fixing this item?&lt;/P&gt;
&lt;P&gt;Thanks, Gennadii&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2010 09:24:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884459#M10534</guid>
      <dc:creator>gennadii_mog</dc:creator>
      <dc:date>2010-02-25T09:24:12Z</dc:date>
    </item>
    <item>
      <title>Difference between static and dynamic libraries usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884460#M10535</link>
      <description>&lt;P&gt;There are several reasons caused such behavior. One of them. for example, may be your workload is very insignificantly. For example, look at you that will display when the dynamic linking..&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2010 17:50:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Difference-between-static-and-dynamic-libraries-usage/m-p/884460#M10535</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-02-25T17:50:02Z</dc:date>
    </item>
  </channel>
</rss>

