<?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 Hi, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/The-example-of-FFT-in-IPP9-0-2016XE/m-p/1101106#M25164</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please refer this page for the&amp;nbsp;reference guide that matches your IPP version : &lt;A href="https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation"&gt;https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Find Volume 1 : Signal Processing -&amp;gt; Transform Functions -&amp;gt; Fast Fourier Transform Functions.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 02:16:26 GMT</pubDate>
    <dc:creator>Jonghak_K_Intel</dc:creator>
    <dc:date>2017-02-23T02:16:26Z</dc:date>
    <item>
      <title>The example of FFT in IPP9.0 (2016XE)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/The-example-of-FFT-in-IPP9-0-2016XE/m-p/1101105#M25163</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;

&lt;P&gt;I want to use FFT on the Xeon Phi ,but the MKL-FFT performance is not good.I want to try IPP ,but I can not find the FFT API in IPP guide .&lt;/P&gt;

&lt;P&gt;And the path which the guide mentioned :&lt;SPAN class="filepath" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(102, 102, 102); font-size: 13px;"&gt;&amp;lt;install_dir&amp;gt;/ipp/components&lt;/SPAN&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;not&amp;nbsp;exist .&lt;/P&gt;

&lt;P&gt;What is more, I found the oldversion sample for IPP8.0 named ipp-examples/ipp_fft but the compile said these function has been removed .&lt;/P&gt;

&lt;P&gt;So please help me to find the FFT example for IPP9.0 ,thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 09:30:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/The-example-of-FFT-in-IPP9-0-2016XE/m-p/1101105#M25163</guid>
      <dc:creator>王_子_</dc:creator>
      <dc:date>2017-02-22T09:30:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/The-example-of-FFT-in-IPP9-0-2016XE/m-p/1101106#M25164</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please refer this page for the&amp;nbsp;reference guide that matches your IPP version : &lt;A href="https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation"&gt;https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Find Volume 1 : Signal Processing -&amp;gt; Transform Functions -&amp;gt; Fast Fourier Transform Functions.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 02:16:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/The-example-of-FFT-in-IPP9-0-2016XE/m-p/1101106#M25164</guid>
      <dc:creator>Jonghak_K_Intel</dc:creator>
      <dc:date>2017-02-23T02:16:26Z</dc:date>
    </item>
    <item>
      <title>Quote:JON J K. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/The-example-of-FFT-in-IPP9-0-2016XE/m-p/1101107#M25165</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;JON J K. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please refer this page for the&amp;nbsp;reference guide that matches your IPP version : &lt;A href="https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation"&gt;https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-documentation&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Find Volume 1 : Signal Processing -&amp;gt; Transform Functions -&amp;gt; Fast Fourier Transform Functions.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you for your help！I have found&amp;nbsp;the cpu-FFT&amp;nbsp;version according to your guide.&lt;/P&gt;

&lt;P&gt;This code is the example for IPP 9.0:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include "ipp.h"
#include "ippi.h"
#include &amp;lt;stdio.h&amp;gt;

#define EXIT_MAIN exitLine:                                  /* Label for Exit */
#define check_sts(st) if((st) != ippStsNoErr) goto exitLine; /* Go to Exit if IPP function returned status different from ippStsNoErr */
int main(int argc, char* argv[])
{

   IppStatus           status;
   IppiFFTSpec_C_32fc  *pSpec = NULL;                              /* Pointer to FFT spec structure */

   Ipp32fc             srcFwd[8 * 8] = {0}, dstFwd[8 * 8] = {0};   /* Source/destination images */
   Ipp32fc             m3 = {-3, 0}, one = {1, 0};

   Ipp8u               *pMemInit = NULL, *pBuffer = NULL;          /* Pointer to the work buffers */
   int                 sizeSpec = 0, sizeInit = 0, sizeBuf = 0;    /* Size of FFT spec structure, init and work buffers */

   srcFwd[0] = m3;
   srcFwd[9] = one;

   check_sts( status = ippiFFTGetSize_C_32fc(3, 3, IPP_FFT_DIV_INV_BY_N, ippAlgHintAccurate, &amp;amp;sizeSpec, &amp;amp;sizeInit, &amp;amp;sizeBuf) )

   /* memory allocation */
   pSpec    = (IppiFFTSpec_C_32fc*) ippMalloc(sizeSpec);
   pBuffer  = (Ipp8u*) ippMalloc(sizeBuf);
   pMemInit = (Ipp8u*) ippMalloc(sizeInit);

   check_sts( status = ippiFFTInit_C_32fc(3, 3, IPP_FFT_DIV_INV_BY_N, ippAlgHintAccurate, pSpec, pMemInit) )

   /* forward FFT transform */
   check_sts( status = ippiFFTFwd_CToC_32fc_C1R(srcFwd, 8*sizeof(Ipp32fc), dstFwd, 8*sizeof(Ipp32fc), pSpec, pBuffer) )

   for(int i=0;i&amp;lt;8;i++)
	{
	   for(int j=0;j&amp;lt;8;j++)
	   {
	   		   printf("%f+%f ",dstFwd[i*8+j].re,dstFwd[i*8+j].im);
	   }
	   printf("\n");
	}


EXIT_MAIN
   ippFree(pMemInit);
   ippFree(pSpec);
   ippFree(pBuffer);
   printf("Exit status %d (%s)\n", (int)status, ippGetStatusString(status));
   return (int)status;

}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;Thank you very much .&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 02:58:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/The-example-of-FFT-in-IPP9-0-2016XE/m-p/1101107#M25165</guid>
      <dc:creator>王_子_</dc:creator>
      <dc:date>2017-02-23T02:58:28Z</dc:date>
    </item>
  </channel>
</rss>

