<?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 When should ippInit be called? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/When-should-ippInit-be-called/m-p/790616#M2359</link>
    <description>I have the following situation:&lt;BR /&gt;&lt;BR /&gt;- to ease interopabilitywith C and Fortran code, I have encapsulated some of the IPP functions that I need to use in a C DLL with simplified interfaces.&lt;BR /&gt;&lt;BR /&gt;- I'd now like to call IPP functions from this C DLL both from my main application, written in C++, and &lt;EM&gt;another&lt;/EM&gt; DLL which is written in Fortran.&lt;BR /&gt;&lt;BR /&gt;Do I just have to call ippInit() once from the main application when that opens, or do I need to make aseparate call to it from the Fortran DLL the first time that is used?&lt;BR /&gt;&lt;BR /&gt;Also, does it make any difference whether the C DLL with simplified interfaces incorporates the IPP via static or dynamic linking?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Stephen.</description>
    <pubDate>Thu, 17 Nov 2011 11:58:13 GMT</pubDate>
    <dc:creator>eos_pengwern</dc:creator>
    <dc:date>2011-11-17T11:58:13Z</dc:date>
    <item>
      <title>When should ippInit be called?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/When-should-ippInit-be-called/m-p/790616#M2359</link>
      <description>I have the following situation:&lt;BR /&gt;&lt;BR /&gt;- to ease interopabilitywith C and Fortran code, I have encapsulated some of the IPP functions that I need to use in a C DLL with simplified interfaces.&lt;BR /&gt;&lt;BR /&gt;- I'd now like to call IPP functions from this C DLL both from my main application, written in C++, and &lt;EM&gt;another&lt;/EM&gt; DLL which is written in Fortran.&lt;BR /&gt;&lt;BR /&gt;Do I just have to call ippInit() once from the main application when that opens, or do I need to make aseparate call to it from the Fortran DLL the first time that is used?&lt;BR /&gt;&lt;BR /&gt;Also, does it make any difference whether the C DLL with simplified interfaces incorporates the IPP via static or dynamic linking?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Stephen.</description>
      <pubDate>Thu, 17 Nov 2011 11:58:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/When-should-ippInit-be-called/m-p/790616#M2359</guid>
      <dc:creator>eos_pengwern</dc:creator>
      <dc:date>2011-11-17T11:58:13Z</dc:date>
    </item>
    <item>
      <title>When should ippInit be called?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/When-should-ippInit-be-called/m-p/790617#M2360</link>
      <description>Hi Stephen,&lt;BR /&gt;&lt;BR /&gt;You should call ippInit() only once. Anyway nothing bad will happen if you call it from both main and F-dll - as both are running on the same CPU - the second call will do nothing.&lt;BR /&gt;&lt;BR /&gt;We provide 3 types of libraries: dynamic (always threaded), threaded-static and non-threaded static. So the differnce between first 2 is the cost of 1st call - for dynamic linking it's always huge - and the size of your application (see IPP userguide). If you use the 3rd option - non-threaded static - you'll have single threaded IPP version without dependecy on libguide (dll that provides OMP support)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Igor</description>
      <pubDate>Thu, 17 Nov 2011 13:55:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/When-should-ippInit-be-called/m-p/790617#M2360</guid>
      <dc:creator>igorastakhov</dc:creator>
      <dc:date>2011-11-17T13:55:25Z</dc:date>
    </item>
    <item>
      <title>When should ippInit be called?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/When-should-ippInit-be-called/m-p/790618#M2361</link>
      <description>Thank you Igor, that tells me exactly what I needed to know.&lt;BR /&gt;&lt;BR /&gt;Stephen.</description>
      <pubDate>Thu, 17 Nov 2011 17:13:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/When-should-ippInit-be-called/m-p/790618#M2361</guid>
      <dc:creator>eos_pengwern</dc:creator>
      <dc:date>2011-11-17T17:13:42Z</dc:date>
    </item>
  </channel>
</rss>

