<?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 ippsFIRMRInitAlloc Exception for some values in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799837#M3071</link>
    <description>To work correct the input parameter should satisfy condition&lt;BR /&gt;(4 * (Ipp64s)numTaps * downFactor + downPhase) &amp;lt; IPP_MAX_32S&lt;BR /&gt;The nearest fixin next IPPrelease will check this condition and return error state. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 01 Mar 2012 07:03:53 GMT</pubDate>
    <dc:creator>Andrey_B_Intel</dc:creator>
    <dc:date>2012-03-01T07:03:53Z</dc:date>
    <item>
      <title>ippsFIRMRInitAlloc Exception for some values</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799834#M3068</link>
      <description>Hello,&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm using the ippsFIRMRInitAlloc function in my code and some values of upFactor and downFacto causes the function to crash such as when upFactor is 23999 and downFactor is 24000. Is there some limit to the values that can be used or how can I check inputs are safe?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I am running windows 7 64bit OS on a Core 2 Quad and i7 system, have tried linking against IPP 6.1.0.032 and7.0.6.278.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;below is the simplified portion of code that throws the exception:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Ipp64f* taps = ippsMalloc_64f(1);&lt;/DIV&gt;&lt;DIV&gt;IppsFIRState_64f* pState;&lt;/DIV&gt;&lt;DIV&gt;Ipp64f* pDlyLine = NULL;&lt;/DIV&gt;&lt;DIV&gt;int p = 23999;&lt;/DIV&gt;&lt;DIV&gt;int q = 24000;&lt;/DIV&gt;&lt;DIV&gt;ippsFIRMRInitAlloc_64f(&amp;amp;pState,taps,1,p,0,q,0,pDlyLine);&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have other values of p and q such as p = 2399, q = 2400 works fine.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Would appreciate any help,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Feb 2012 08:11:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799834#M3068</guid>
      <dc:creator>junioru</dc:creator>
      <dc:date>2012-02-29T08:11:47Z</dc:date>
    </item>
    <item>
      <title>ippsFIRMRInitAlloc Exception for some values</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799835#M3069</link>
      <description>The problem was reproduced. &lt;BR /&gt;Actuallyinteger overflow happensduring calculation internal table.In the next release of IPP function will return error state in suchsituation.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Feb 2012 13:07:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799835#M3069</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2012-02-29T13:07:16Z</dc:date>
    </item>
    <item>
      <title>ippsFIRMRInitAlloc Exception for some values</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799836#M3070</link>
      <description>Hi, thanks for the reply. in the mean time, would it be possible to provide some idea of what is the range of values that will work so that I can add some code to check the inputs and before the function call to ensure it does not crash my entire program? Thank you.</description>
      <pubDate>Thu, 01 Mar 2012 05:33:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799836#M3070</guid>
      <dc:creator>junioru</dc:creator>
      <dc:date>2012-03-01T05:33:34Z</dc:date>
    </item>
    <item>
      <title>ippsFIRMRInitAlloc Exception for some values</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799837#M3071</link>
      <description>To work correct the input parameter should satisfy condition&lt;BR /&gt;(4 * (Ipp64s)numTaps * downFactor + downPhase) &amp;lt; IPP_MAX_32S&lt;BR /&gt;The nearest fixin next IPPrelease will check this condition and return error state. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 01 Mar 2012 07:03:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799837#M3071</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2012-03-01T07:03:53Z</dc:date>
    </item>
    <item>
      <title>ippsFIRMRInitAlloc Exception for some values</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799838#M3072</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1330610522828="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=413497" href="https://community.intel.com/en-us/profile/413497/" class="basic"&gt;Andrey Bakshaev (Intel)&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;To work correct the input parameter should satisfy condition&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;(4 * (Ipp64s)numTaps * downFactor + downPhase) &amp;lt; IPP_MAX_32S&lt;/SPAN&gt;&lt;BR /&gt;The nearest fixin next IPPrelease will check this condition and return error state.&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;It would be nice to have that condition in a header file. Now it is clear whyan error happened:&lt;BR /&gt;&lt;BR /&gt; ( 4 * 1 * 23999 * 24000 )= &lt;STRONG&gt;2,303,904,000&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;2,147,483,647&lt;BR /&gt;&lt;BR /&gt;[Updated by SergeyK]&lt;/STRONG&gt; Something is wrong with the condition...&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Mar 2012 14:06:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799838#M3072</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-03-01T14:06:42Z</dc:date>
    </item>
    <item>
      <title>ippsFIRMRInitAlloc Exception for some values</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799839#M3073</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1330895662578="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=413497" href="https://community.intel.com/en-us/profile/413497/" class="basic"&gt;Andrey Bakshaev (Intel)&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;To work correct the input parameter should satisfy condition&lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;(4 * (Ipp64s)numTaps * downFactor + downPhase) &amp;lt; IPP_MAX_32S&lt;BR /&gt;&lt;/STRONG&gt;...&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Andrey,&lt;BR /&gt;&lt;BR /&gt;Could you verify the condition, please? I just noticed that something iswrong. A couple ofmore things:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;. The function '&lt;STRONG&gt;ippsFIRMRInitAlloc_64f&lt;/STRONG&gt;' has&lt;STRONG&gt;7&lt;/STRONG&gt; input argumentsand &lt;STRONG&gt;1&lt;/STRONG&gt; output argument ( pfState ).&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt; st = ::&lt;STRONG&gt;ippsFIRMRInitAlloc_64f&lt;/STRONG&gt;( &amp;amp;pfState, pfTaps, &lt;SPAN style="text-decoration: underline;"&gt;iTapsLen&lt;/SPAN&gt;, &lt;SPAN style="text-decoration: underline;"&gt;iUpFactor&lt;/SPAN&gt;, &lt;SPAN style="text-decoration: underline;"&gt;iUpPhase&lt;/SPAN&gt;, &lt;SPAN style="text-decoration: underline;"&gt;iDownFactor&lt;/SPAN&gt;, &lt;SPAN style="text-decoration: underline;"&gt;iDownPhase&lt;/SPAN&gt;, pfDelayLine );&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt; I underlined input arguments with numerical values and I thinkthey have to be taken into accountin&lt;BR /&gt; case of verifications.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;. The problem is reproducible with &lt;STRONG&gt;IPP&lt;/STRONG&gt; libraries down to version &lt;STRONG&gt;3.x&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sun, 04 Mar 2012 21:47:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFIRMRInitAlloc-Exception-for-some-values/m-p/799839#M3073</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-03-04T21:47:41Z</dc:date>
    </item>
  </channel>
</rss>

