<?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 Re: IPP's OpenMP in a multi-threaded performance app in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-OpenMP-in-a-multi-threaded-performance-app/m-p/857186#M7340</link>
    <description>&lt;DIV style="margin:0px;"&gt;After you call ippSetNumThreads(1) IPP will use only single thread, it is easy to check looking at performance of any threaded IPP function.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Nov 2008 20:42:07 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2008-11-05T20:42:07Z</dc:date>
    <item>
      <title>IPP's OpenMP in a multi-threaded performance app</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-OpenMP-in-a-multi-threaded-performance-app/m-p/857185#M7339</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have an issue with threads created from IPP's OpenMP implementation. My app has 4 worker threads each running on a core. Each worker thread does some heavy-lifting work, involving FFTs. The problem is that IPP creates 4 additional threads that compete with my threads for CPU. After looking through the documentation, I found the OMP_NUM_THREADS variable and the ippSetNumThreads function. I've tried setting both to 1 but they don't seem to work: threads are still created.&lt;/P&gt;
&lt;P&gt;I link with the dynamic version of IPP and the part of the app with the worker threads is loaded with dlopen.&lt;/P&gt;
&lt;P&gt;Some more info: By reducing the number of my worker threads to 2, it seems everything is fine: 2 more IPP threads are created from libguile.so but each thread gets a core of it's own and everyone is happy...but I'd like to have some control and see what happens if FFTs are not parallelized and everything runs on the same core, serially.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Cosmin.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2008 16:00:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-OpenMP-in-a-multi-threaded-performance-app/m-p/857185#M7339</guid>
      <dc:creator>cratiuixiacom_com</dc:creator>
      <dc:date>2008-10-30T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: IPP's OpenMP in a multi-threaded performance app</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-OpenMP-in-a-multi-threaded-performance-app/m-p/857186#M7340</link>
      <description>&lt;DIV style="margin:0px;"&gt;After you call ippSetNumThreads(1) IPP will use only single thread, it is easy to check looking at performance of any threaded IPP function.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2008 20:42:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-OpenMP-in-a-multi-threaded-performance-app/m-p/857186#M7340</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-11-05T20:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: IPP's OpenMP in a multi-threaded performance app</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-OpenMP-in-a-multi-threaded-performance-app/m-p/857187#M7341</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/61463"&gt;vdudnik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;After you call ippSetNumThreads(1) IPP will use only single thread, it is easy to check looking at performance of any threaded IPP function.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Thanks, meanwhile I discovered that I didn't correctly call that function before the first chunk of work caused threads to spawn.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2008 14:05:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-OpenMP-in-a-multi-threaded-performance-app/m-p/857187#M7341</guid>
      <dc:creator>cratiuixiacom_com</dc:creator>
      <dc:date>2008-11-11T14:05:00Z</dc:date>
    </item>
  </channel>
</rss>

