<?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 Problems with ippsMul_32fc on Mac OS in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808963#M3792</link>
    <description>Whats exactly your linking line?&lt;BR /&gt;&lt;DIV&gt;Can you check the problem with dynanic linking?&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
    <pubDate>Tue, 12 Oct 2010 18:25:53 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-10-12T18:25:53Z</dc:date>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808957#M3786</link>
      <description>Hi, I'm using complex multiplication for some convolution purposes. On Windows it works just fine. However on Mac it does not. Weird thing is, that I tested it on some random data and it seems working well. But when I use it inside the algorithm itself, preceded by fft and followed by ifft, then it generates nonsense. When I replace it with my own implementation of complex multiplication (either direct C++ or asm using SSE), then it works fine.&lt;BR /&gt;Any ideas? Are there any limitations for the input buffers?</description>
      <pubDate>Mon, 11 Oct 2010 16:36:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808957#M3786</guid>
      <dc:creator>meldaproduction</dc:creator>
      <dc:date>2010-10-11T16:36:57Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808958#M3787</link>
      <description>Ok, I processed bunch of logs and this is the result:&lt;BR /&gt;&lt;BR /&gt;Real part is always correct, but imaginary sometimes not, it often copies real with inverted sign.&lt;BR /&gt;&lt;BR /&gt;Nothing more. I tried placing my own implementation in front or after the ippsMul_32fc call redirecting the first one to a dummy buffer just to check for correctness and my own implementation always works correctly, but ippsMul_32fc does not. It seems it does that only on Mac OS X.&lt;BR /&gt;&lt;BR /&gt;My specs : OSX 10.6.3, using GCC, because Intel compiler generated some weird things so far.&lt;BR /&gt;What should I do?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Oct 2010 00:53:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808958#M3787</guid>
      <dc:creator>meldaproduction</dc:creator>
      <dc:date>2010-10-12T00:53:59Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808959#M3788</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello, &lt;BR /&gt;&lt;BR /&gt;Could you attach the piece ofcode of about ippsMul_32fc call (include the input and output)? And the IPP install package? &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying &lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2010 02:50:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808959#M3788</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-10-12T02:50:04Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808960#M3789</link>
      <description>Ok, here it is, first the results: &lt;BR /&gt;index, difference (should be 0), my correct implementation, ippsMul_32fc&lt;BR /&gt;&lt;BR /&gt;0 = diff 0.0000, 2.6480, 2.6480&lt;BR /&gt;1 = diff -0.4121, -1.9209, -1.5089&lt;BR /&gt;2 = diff 0.0000, -0.4410, -0.4410&lt;BR /&gt;3 = diff 4.6421, 5.0832, 0.4410&lt;BR /&gt;4 = diff 0.0000, -2.0317, -2.0317&lt;BR /&gt;5 = diff -3.5517, -2.1986, 1.3531&lt;BR /&gt;6 = diff 0.0000, 6.0182, 6.0182&lt;BR /&gt;7 = diff 0.0000, 0.4256, 0.4256&lt;BR /&gt;8 = diff 0.0000, -2.9735, -2.9735&lt;BR /&gt;9 = diff 4.3780, 1.5776, -2.8005&lt;BR /&gt;10 = diff 0.0000, 0.4701, 0.4701&lt;BR /&gt;11 = diff -6.8187, -6.3486, 0.4701&lt;BR /&gt;12 = diff 0.0000, 1.8333, 1.8333&lt;BR /&gt;13 = diff 1.5770, 3.9133, 2.3363&lt;BR /&gt;14 = diff 0.0000, -7.5734, -7.5734&lt;BR /&gt;15 = diff 0.0000, -1.6515, -1.6515&lt;BR /&gt;16 = diff 0.0000, 4.1548, 4.1548&lt;BR /&gt;&lt;BR /&gt;Source values:&lt;BR /&gt;index, difference has no meaning, value 1, value 2 (note that re and im are below each other).&lt;BR /&gt;&lt;BR /&gt;0 = diff 2.5236, 3.2307, 0.7071&lt;BR /&gt;1 = diff 1.2212, 0.5141, -0.7071&lt;BR /&gt;2 = diff -5.0832, -5.0832, -0.0000&lt;BR /&gt;3 = diff 0.5589, -0.4410, -1.0000&lt;BR /&gt;4 = diff 3.6984, 2.9912, -0.7071&lt;BR /&gt;5 = diff 0.8251, 0.1180, -0.7071&lt;BR /&gt;6 = diff -5.0183, -6.0183, -1.0000&lt;BR /&gt;7 = diff -0.4256, -0.4256, 0.0000&lt;BR /&gt;8 = diff 3.9252, 3.2181, -0.7071&lt;BR /&gt;9 = diff 0.2800, 0.9871, 0.7071&lt;BR /&gt;10 = diff -6.3487, -6.3487, -0.0000&lt;BR /&gt;11 = diff -1.4701, -0.4701, 1.0000&lt;BR /&gt;12 = diff 3.3564, 4.0635, 0.7071&lt;BR /&gt;13 = diff 0.7637, 1.4708, 0.7071&lt;BR /&gt;14 = diff -8.5735, -7.5735, 1.0000&lt;BR /&gt;15 = diff -1.6515, -1.6515, 0.0000&lt;BR /&gt;16 = diff 2.4957, 3.2028, 0.7071&lt;BR /&gt;&lt;BR /&gt;2 conclusions:&lt;BR /&gt;1) Re is always ok, Im is not.&lt;BR /&gt;2) It seems it is always wrong, I was confused 'cos it seems it sometimes works, but it was only because the source was 0. It seems it somehow mingles Re and Im it is multiplying the data with. &lt;BR /&gt;&lt;BR /&gt;Also I should note, that it is possible that src1/src2 is equal to dst, but that should not be a problem. It works fine on Windows. Also this problem occurs on Intel core 2 duo, I cannot test other processors unfortunately.&lt;BR /&gt;Installer is named m_cproc_p_11.1.089.dmg&lt;BR /&gt;&lt;BR /&gt;Unfortunately now I'm kind of out of options.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Oct 2010 15:58:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808960#M3789</guid>
      <dc:creator>meldaproduction</dc:creator>
      <dc:date>2010-10-12T15:58:41Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808961#M3790</link>
      <description>And the part of the code, but there is nothing interesting there...&lt;BR /&gt;&lt;BR /&gt;float temp[1 &amp;lt;&amp;lt; 14];&lt;BR /&gt;   {&lt;BR /&gt;    cnt *= 2;&lt;BR /&gt;    for (int i=0; i&lt;CNT&gt;&lt;/CNT&gt;    {&lt;BR /&gt;     const float re = src1&lt;I&gt;;&lt;BR /&gt;     const float im = src1[i+1];&lt;BR /&gt;     const float re2 = src2&lt;I&gt;;&lt;BR /&gt;     const float im2 = src2[i+1];&lt;BR /&gt;&lt;BR /&gt;     temp&lt;I&gt; = re * re2 - im * im2;&lt;BR /&gt;     temp[i+1] = re * im2 + im * re2;&lt;BR /&gt;    };&lt;BR /&gt;   };&lt;BR /&gt;   ippsMul_32fc((Ipp32fc*)src1, (Ipp32fc*)src2, (Ipp32fc*)dst, cnt/2);&lt;BR /&gt;&lt;BR /&gt;My algo generates temp, ippsMul dst, which becomes incorrect. It seems working as a separate application, but not this way. Should the ippStaticInit (or how it is called) be run in all threads?&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;</description>
      <pubDate>Tue, 12 Oct 2010 16:48:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808961#M3790</guid>
      <dc:creator>meldaproduction</dc:creator>
      <dc:date>2010-10-12T16:48:45Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808962#M3791</link>
      <description>Ok and one more thing. I'm running it on Snow leopard, which is 64-bit, though the application is 32-bit I believe. Anyway if I run a testing app, it works fine. Then I run this plugin, which doesn't work fine, and I checked the pointers to the buffers and src1=dst (which shouldn't matter I hope), but this pointer is really ugly - actually it is negative FFblablasomething. So obviously the OS used addresses above 2GB. Maybe there's some bug in addressing these in ipp.</description>
      <pubDate>Tue, 12 Oct 2010 17:14:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808962#M3791</guid>
      <dc:creator>meldaproduction</dc:creator>
      <dc:date>2010-10-12T17:14:32Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808963#M3792</link>
      <description>Whats exactly your linking line?&lt;BR /&gt;&lt;DIV&gt;Can you check the problem with dynanic linking?&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Oct 2010 18:25:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808963#M3792</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-10-12T18:25:53Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808964#M3793</link>
      <description>Ok, it seems that the forum didn't accept the time correcly. :) The problem is still there and I have no idea what to do except using my own implementation. No problem with it, but then I don't know if it is caused by ipp on mac, or ipp on core 2 duo, and if other routines are fine and there's just a little glitch...&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Oct 2010 18:47:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808964#M3793</guid>
      <dc:creator>meldaproduction</dc:creator>
      <dc:date>2010-10-12T18:47:41Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808965#M3794</link>
      <description>Hello Meldaproduction,&lt;BR /&gt;&lt;BR /&gt;See from &lt;A href="http://software.intel.com/en-us/articles/which-version-of-ipp--mkl--tbb-is-installed-with-intel-compiler-professional-edition/"&gt;Which version of Intel IPP, Intel MKL and Intel TBB is installed by the Intel Compiler Professional Edition?&lt;/A&gt; You should be using the latest IPP version IPP 6.1 update 6 release. &lt;BR /&gt;&lt;BR /&gt;Atcutally, IPP provide some internal error check and version information check. It seems no such issue reported like you have describled.It would be nice if you posted more details about how do you enter the input. Ideally a self-contained example would help a lot.&lt;BR /&gt;&lt;BR /&gt;For example, what the exact valuecnt *= 2; how do you define (Ipp32fc*)src1? &lt;BR /&gt;&lt;BR /&gt;Many problems may be caused bysome tiny errors, for example, the pointer type conversion src as float *and use it as Ipp32fc *.&lt;BR /&gt;&lt;BR /&gt;Here is one samplewe dicusssin &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=77921"&gt;http://software.intel.com/en-us/forums/showthread.php?t=77921&lt;/A&gt; for your reference. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//ippiDFT_test.cpp&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;#include &lt;STDAFX.H&gt;&lt;BR /&gt;#include "ipp.h" &lt;BR /&gt; &lt;BR /&gt;int main() &lt;BR /&gt;{&lt;/STDAFX.H&gt;&lt;/P&gt;&lt;P&gt;// Print the version of ipp being used&lt;BR /&gt; &lt;STRONG&gt;const IppLibraryVersion* lib&lt;/STRONG&gt; = ippiGetLibVersion();&lt;BR /&gt; printf("%s %s %d.%d.%d.%d\n", lib-&amp;gt;Name, lib-&amp;gt;Version,lib-&amp;gt;major, lib-&amp;gt;minor, lib-&amp;gt;majorBuild, lib-&amp;gt;build);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; int lenx=5, leny=10; //5x10 matrix&lt;BR /&gt; Ipp32fc* pSrc;&lt;BR /&gt; Ipp32fc* pDst;&lt;BR /&gt; pSrc = ippsMalloc_32fc(lenx*leny);&lt;BR /&gt; pDst = ippsMalloc_32fc(lenx*leny);&lt;BR /&gt; &lt;BR /&gt; for (int i = 0; i &amp;lt; lenx*leny; i++) {&lt;BR /&gt; pSrc&lt;I&gt;.re = i;&lt;BR /&gt; pSrc&lt;I&gt;.im = 0.0f;&lt;BR /&gt; }&lt;BR /&gt;IppiDFTSpec_C_32fc *pDFTSpec;&lt;BR /&gt; IppStatus status;&lt;BR /&gt; IppiSize slen = {leny, lenx};&lt;BR /&gt; ippiDFTInitAlloc_C_32fc( &amp;amp;pDFTSpec, slen, IPP_FFT_NODIV_BY_ANY, ippAlgHintAccurate );&lt;BR /&gt; status = ippiDFTFwd_CToC_32fc_C1R(pSrc, leny*sizeof(Ipp32fc), pDst, leny*sizeof(Ipp32fc), pDFTSpec, 0 );&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt; printf("%d : %s\n", status,&lt;STRONG&gt; ippGetStatusString(status&lt;/STRONG&gt;));&lt;BR /&gt; printf("%f, %f, %f, %f\n", pDst[0].re, pDst[0].im, pDst[1].re, pDst[1].im);&lt;BR /&gt; &lt;BR /&gt; status = ippiDFTFree_C_32fc(pDFTSpec); // expect ippStsNoErr &lt;BR /&gt;printf("%d : %s\n", status, ippGetStatusString(status));&lt;BR /&gt; return 0; &lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying &lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2010 03:10:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808965#M3794</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-10-14T03:10:34Z</dc:date>
    </item>
    <item>
      <title>Problems with ippsMul_32fc on Mac OS</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808966#M3795</link>
      <description>Thank you Ying, anyway I think I found it - to my surprise I wasn't calling ippStaticInit. I didn't suspect that, because I thought if I don't call it, the methods will work, just slower. Apparently this one is not. Well, at least it seems it is fixed, I need to check it more.&lt;BR /&gt;Btw. I think you should check this one, because for example if someone uses some global data, which use this function in initialization, it will be called before ippStaticInit. I know that we shouldn't do it, but if someone does that, it would be really hard to find it.&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Thu, 14 Oct 2010 10:35:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippsMul-32fc-on-Mac-OS/m-p/808966#M3795</guid>
      <dc:creator>meldaproduction</dc:creator>
      <dc:date>2010-10-14T10:35:49Z</dc:date>
    </item>
  </channel>
</rss>

