<?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 Function ippsCrossCorr_64f() crashes in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-ippsCrossCorr-64f-crashes/m-p/801421#M3247</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I run the code and reproduced the problem. I escalated it to the function owner for future fix&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2010 07:22:34 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2010-10-27T07:22:34Z</dc:date>
    <item>
      <title>Function ippsCrossCorr_64f() crashes</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-ippsCrossCorr-64f-crashes/m-p/801420#M3246</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;when I invoke the function ippsCrossCorr_64f() (cross correlation) with special arguments, it might crash:&lt;BR /&gt;ippsCrossCorr_64f(x, 2593, y, 64000, corrIpp, 16001, 32560);&lt;BR /&gt;&lt;BR /&gt;It seems to me, that the amount of memory allocated on the heap before calling this function has an influence on whether it is crashing or not.&lt;BR /&gt;&lt;BR /&gt;In order for you to reproduce the crash find below a minimal demo program as source code and as binary.&lt;BR /&gt;&lt;BR /&gt;I use IPP version 6.1.6, which was statically linked, have a Pentium 4 3.2GHz and use Windows XP 32 bit.&lt;BR /&gt;&lt;BR /&gt;Any idea what causes the crash, e.g. wrong parameters, bug in the function etc.?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------------------------------------&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;#include &lt;STRING.H&gt;&lt;BR /&gt;#include &lt;IPP.H&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// Constants&lt;BR /&gt;const int MAX_SIGNAL_LEN = 200000;&lt;BR /&gt;const int X_LEN = 66468;&lt;BR /&gt;const int Y_LEN = 68868;&lt;BR /&gt;&lt;BR /&gt;double *myMalloc(int length)&lt;BR /&gt;{&lt;BR /&gt;// return (double*)malloc(length*sizeof(double));&lt;BR /&gt;// return (double*)ippsMalloc_8u(length*sizeof(double));&lt;BR /&gt; return ippsMalloc_64f(length);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;void myFree(double *x)&lt;BR /&gt;{&lt;BR /&gt;// free(x);&lt;BR /&gt; ippsFree(x);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt; ippStaticInit();&lt;BR /&gt;&lt;BR /&gt; double *corrIpp = (double*)myMalloc(MAX_SIGNAL_LEN);&lt;BR /&gt; memset(corrIpp, 0, MAX_SIGNAL_LEN*sizeof(double));&lt;BR /&gt;&lt;BR /&gt; double *x = (double*)myMalloc(X_LEN);&lt;BR /&gt; memset(x, 0, (X_LEN)*sizeof(double));&lt;BR /&gt;&lt;BR /&gt; double *y = (double*)myMalloc(Y_LEN);&lt;BR /&gt; memset(y, 0, Y_LEN*sizeof(double));&lt;BR /&gt;&lt;BR /&gt; ippsCrossCorr_64f(x, 2593, y, 64000, corrIpp, 16001, 32560);&lt;BR /&gt;&lt;BR /&gt; myFree(x);&lt;BR /&gt; myFree(y);&lt;BR /&gt; myFree(corrIpp);&lt;BR /&gt;&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/IPP.H&gt;&lt;/STRING.H&gt;&lt;/STDLIB.H&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Fri, 22 Oct 2010 13:50:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-ippsCrossCorr-64f-crashes/m-p/801420#M3246</guid>
      <dc:creator>opticom25</dc:creator>
      <dc:date>2010-10-22T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Function ippsCrossCorr_64f() crashes</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Function-ippsCrossCorr-64f-crashes/m-p/801421#M3247</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I run the code and reproduced the problem. I escalated it to the function owner for future fix&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2010 07:22:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Function-ippsCrossCorr-64f-crashes/m-p/801421#M3247</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-10-27T07:22:34Z</dc:date>
    </item>
  </channel>
</rss>

