<?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: denormals in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880717#M10159</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/336498"&gt;Vladimir Dudnik (Intel)&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;Hello,&lt;BR /&gt;&lt;BR /&gt;there is comment from our expert&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;Setting ftz and daz doesn't prevent from appearing of "denormals" in calculation results, these flags just inform cpu to consider these "denormals" as zeroes in the subsequent calculations and therefore speedup calculations. To avoid "denormals"you needto flush them manually (for example via ippsThreshold).&lt;/P&gt;
&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Yeah, well, seems the ftz and daz flags aren't sticking for whatever reason, and it's killing performance... Anyway, as it's usage is undocumented, I just assumed to put setFlushToZero in "main" along with init, and it would set the cpu flag for all ipp opperations in my app... not true, apparently, has to be done per thread, but seems to work as expected... sure beats going through my entire app and handholding every ipp call with a threshold... or does it? It seems there's some additional overhead to the threshold calls (which are documented ;) Perhaps it depends on the situation (eg: target CPU / instructions?). And what exactly is the difference between setFlushtoZero and setDenormAreZero?&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Mar 2009 10:21:56 GMT</pubDate>
    <dc:creator>drd</dc:creator>
    <dc:date>2009-03-17T10:21:56Z</dc:date>
    <item>
      <title>denormals</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880715#M10157</link>
      <description>I'm a litte confused about why I'm getting denormals from various ipp calls. I'm using the Intel Compiler v10, and have flush denormals Qftz set... shouldn' this take care of that? And for ipp, I imagine something like this is supposed to work?&lt;BR /&gt;&lt;BR /&gt; IppStatus status;&lt;BR /&gt; status = ippStaticInit();&lt;BR /&gt; status = ippSetDenormAreZeros(1);&lt;BR /&gt; status = ippSetFlushToZero(1, NULL);&lt;BR /&gt;&lt;BR /&gt;In many cases my app will feed ipp filters (IIR, FIR, etc.) "empty" buffers (all 0.0 floats), and this is valid behavior in the application... but I'm still getting denormals as I step trough... shouldn't the /qftz switch take care of that at runitme, especially if I also set the flags for ipp? or do I need to perform additional checks at runtime and "flush" the denormals manually?&lt;BR /&gt;&lt;BR /&gt;Thanks :)</description>
      <pubDate>Sun, 15 Mar 2009 00:06:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880715#M10157</guid>
      <dc:creator>drd</dc:creator>
      <dc:date>2009-03-15T00:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: denormals</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880716#M10158</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;there is comment from our expert&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;Setting ftz and daz doesn't prevent from appearing of "denormals" in calculation results, these flags just inform cpu to consider these "denormals" as zeroes in the subsequent calculations and therefore speedup calculations. To avoid "denormals"you needto flush them manually (for example via ippsThreshold).&lt;/P&gt;
&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir</description>
      <pubDate>Mon, 16 Mar 2009 10:27:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880716#M10158</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-03-16T10:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: denormals</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880717#M10159</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/336498"&gt;Vladimir Dudnik (Intel)&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;Hello,&lt;BR /&gt;&lt;BR /&gt;there is comment from our expert&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;Setting ftz and daz doesn't prevent from appearing of "denormals" in calculation results, these flags just inform cpu to consider these "denormals" as zeroes in the subsequent calculations and therefore speedup calculations. To avoid "denormals"you needto flush them manually (for example via ippsThreshold).&lt;/P&gt;
&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Yeah, well, seems the ftz and daz flags aren't sticking for whatever reason, and it's killing performance... Anyway, as it's usage is undocumented, I just assumed to put setFlushToZero in "main" along with init, and it would set the cpu flag for all ipp opperations in my app... not true, apparently, has to be done per thread, but seems to work as expected... sure beats going through my entire app and handholding every ipp call with a threshold... or does it? It seems there's some additional overhead to the threshold calls (which are documented ;) Perhaps it depends on the situation (eg: target CPU / instructions?). And what exactly is the difference between setFlushtoZero and setDenormAreZero?&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 10:21:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880717#M10159</guid>
      <dc:creator>drd</dc:creator>
      <dc:date>2009-03-17T10:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: denormals</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880718#M10160</link>
      <description>Hi...&lt;DIV&gt;I hope this thread is not dead yet.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Well, I'm alsoe experiencing performance drop due to denormal, and I've tried calling :&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt; ippSetFlushToZero(1, NULL);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; ippSetDenormAreZeros(1);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;but there is no difference at all : it's like these lines are ignored.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I've ruled out the following :&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;SSE2 is enabled in all projects of my app (currently a test app involving one EXE and one DLL).&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;the functions above are called from the correct thread.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;the functions don't complain about anything by returning some odd IppStatus.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;the performance drop is indeed due to denormal&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;So I'm a bit stuck right now, so any idea would be welcome...&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Thanks in advance for your help !&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Valentin&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:19:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880718#M10160</guid>
      <dc:creator>vdecaillet</dc:creator>
      <dc:date>2011-09-22T16:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: denormals</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880719#M10161</link>
      <description>&lt;P&gt;Hi Valentin,&lt;/P&gt;&lt;P&gt;What is the target platform/processor...?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen Gv&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 08:41:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880719#M10161</guid>
      <dc:creator>Naveen_G_Intel</dc:creator>
      <dc:date>2011-09-23T08:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: denormals</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880720#M10162</link>
      <description>Hi Naveen !&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Do you think this problem is hardware-based ?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Currently, I'm trying to make it work on my main dev machine :&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;Intel Core2 Quad CPU, Q6600 @ 2.40GHz 2.40GHz&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;4.00GB RAM installed.&lt;/DIV&gt;&lt;DIV style="padding-left: 20pt;"&gt;I don't know if it's relevant, but just in case, I'm using Windows 7 professional, SP1.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Valentin&lt;/DIV&gt;</description>
      <pubDate>Sun, 25 Sep 2011 17:40:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/denormals/m-p/880720#M10162</guid>
      <dc:creator>vdecaillet</dc:creator>
      <dc:date>2011-09-25T17:40:40Z</dc:date>
    </item>
  </channel>
</rss>

