<?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 ippiExp_32f_C3IR(-Inf) is causing _EM_INVALID in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiExp-32f-C3IR-Inf-is-causing-EM-INVALID/m-p/772972#M931</link>
    <description>I've uploaded binary dump of image causing crash when being exponentiating. Here is the code used to create dump:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;std::ofstreamoutput("img.32fC3");&lt;BR /&gt; &lt;BR /&gt;output.write(reinterpret_cast&lt;CONSTCHAR&gt;(&amp;amp;width),sizeof(int));&lt;BR /&gt;output.write(reinterpret_cast&lt;CONSTCHAR&gt;(&amp;amp;height),sizeof(int));&lt;BR /&gt; &lt;BR /&gt;for(inti=0;i&lt;HEIGHT&gt;&lt;/HEIGHT&gt;output.write(pLine,count);&lt;BR /&gt;pLine+=step;&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;output.close();&lt;BR /&gt;&lt;/CONSTCHAR&gt;&lt;/CONSTCHAR&gt;&lt;/PRE&gt;&lt;BR /&gt;pLine is pointer to the beginning of the image. Step is standard IPP step between subsequent lines in bytes. count is number of significant bytes in a row.&lt;BR /&gt;&lt;BR /&gt;First two 4-byte bundles contain width and height of the image. Then data is stored in RGB order without padding, 4 bytes per channel. &lt;BR /&gt;</description>
    <pubDate>Wed, 21 Dec 2011 11:12:26 GMT</pubDate>
    <dc:creator>Mikhail_Matrosov</dc:creator>
    <dc:date>2011-12-21T11:12:26Z</dc:date>
    <item>
      <title>ippiExp_32f_C3IR(-Inf) is causing _EM_INVALID</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiExp-32f-C3IR-Inf-is-causing-EM-INVALID/m-p/772971#M930</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm using Log+Exp functions bundle to perform pow() function on my image. When working with zero pixels, log(0) returns -Inf and exp(-Inf) retuns zero, so the result is correct. However, if _EM_INVALID flag in floating-point control word is unmasked, exception "0xC00002B5: Multiple floating point traps" is thrown.&lt;BR /&gt;&lt;BR /&gt;I do not expect this exception, since no NaN is actually in game. For now I masked this flag during the call of ippiExp_32f_C3IR(), but I want proper behavior.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2011 16:37:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiExp-32f-C3IR-Inf-is-causing-EM-INVALID/m-p/772971#M930</guid>
      <dc:creator>Mikhail_Matrosov</dc:creator>
      <dc:date>2011-12-20T16:37:09Z</dc:date>
    </item>
    <item>
      <title>ippiExp_32f_C3IR(-Inf) is causing _EM_INVALID</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiExp-32f-C3IR-Inf-is-causing-EM-INVALID/m-p/772972#M931</link>
      <description>I've uploaded binary dump of image causing crash when being exponentiating. Here is the code used to create dump:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;std::ofstreamoutput("img.32fC3");&lt;BR /&gt; &lt;BR /&gt;output.write(reinterpret_cast&lt;CONSTCHAR&gt;(&amp;amp;width),sizeof(int));&lt;BR /&gt;output.write(reinterpret_cast&lt;CONSTCHAR&gt;(&amp;amp;height),sizeof(int));&lt;BR /&gt; &lt;BR /&gt;for(inti=0;i&lt;HEIGHT&gt;&lt;/HEIGHT&gt;output.write(pLine,count);&lt;BR /&gt;pLine+=step;&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;output.close();&lt;BR /&gt;&lt;/CONSTCHAR&gt;&lt;/CONSTCHAR&gt;&lt;/PRE&gt;&lt;BR /&gt;pLine is pointer to the beginning of the image. Step is standard IPP step between subsequent lines in bytes. count is number of significant bytes in a row.&lt;BR /&gt;&lt;BR /&gt;First two 4-byte bundles contain width and height of the image. Then data is stored in RGB order without padding, 4 bytes per channel. &lt;BR /&gt;</description>
      <pubDate>Wed, 21 Dec 2011 11:12:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiExp-32f-C3IR-Inf-is-causing-EM-INVALID/m-p/772972#M931</guid>
      <dc:creator>Mikhail_Matrosov</dc:creator>
      <dc:date>2011-12-21T11:12:26Z</dc:date>
    </item>
  </channel>
</rss>

