<?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 what is the corresponding function of DFT in IPP? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/what-is-the-corresponding-function-of-DFT-in-IPP/m-p/808498#M3631</link>
    <description>Hi zlw,&lt;BR /&gt;&lt;BR /&gt;Intel IPP libraries do only single precision 2D FFTs. Here's a simple example that is supposed to do complex FFT(5x10). Please consult the documentation for the Intel IPP Image Processing library for more information.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[cpp]#include "ipp.h"
#include &lt;COMPLEX.H&gt;

int main()
{
    float _Complex x[5][10], y[5][10];
    IppiSize len = {5, 10};
    IppiDFTSpec_C_32fc *fft = NULL;
    IppStatus status = ippStsNoErr;
    status = ippiDFTInitAlloc_C_32fc(&amp;amp;fft, len, IPP_FFT_NODIV_BY_ANY, ippAlgHintAccurate); // expect ippStsNoErr
    status = ippiDFTFwd_CToC_32fc_C1R(x, 10, y, 10, fft, NULL); // expect ippStsNoErr
    status = ippiDFTFree_C_32fc(fft); // expect ippStsNoErr
    return 0;
}
[/cpp]&lt;/COMPLEX.H&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 12 Oct 2010 17:01:23 GMT</pubDate>
    <dc:creator>Evgueni_P_Intel</dc:creator>
    <dc:date>2010-10-12T17:01:23Z</dc:date>
    <item>
      <title>what is the corresponding function of DFT in IPP?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/what-is-the-corresponding-function-of-DFT-in-IPP/m-p/808497#M3630</link>
      <description>Hi,&lt;DIV&gt;I am trying to comparing using MKL's DFT and IPP's DFT.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;However, my test program gives different results:&lt;/DIV&gt;&lt;DIV&gt;In MKL:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;MKL_LONG status = DftiCreateDescriptor( &amp;amp;my_desc1_handled, DFTI_SINGLE, DFTI_COMPLEX, 2, l);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; status = DftiSetValue( my_desc1_handled, DFTI_PLACEMENT, DFTI_NOT_INPLACE);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; status = DftiCommitDescriptor( my_desc1_handled);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; status = DftiComputeForward( my_desc1_handled, A, B0 );&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; status = DftiFreeDescriptor(&amp;amp;my_desc1_handled);&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In IPP:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;IppsDFTSpec_C_32fc *pDFTSpec;&lt;/DIV&gt;&lt;DIV&gt;ippsDFTInitAlloc_C_32fc( &amp;amp;pDFTSpec, len, IPP_FFT_DIV_INV_BY_N,&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;			&lt;/SPAN&gt;  ippAlgHintAccurate );&lt;/DIV&gt;&lt;DIV&gt;ippsDFTFwd_CToC_32fc(pSrc, (Ipp32fc*)pDst, pDFTSpec, 0 );&lt;/DIV&gt;&lt;DIV&gt;ippsDFTFree_C_32fc(pDFTSpec);&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am looking forward to complex to complex transform with matrix M*N dimension.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Two question:&lt;/DIV&gt;&lt;DIV&gt;1. what settings did I use wrong as my IPP give different result compared to MKL.&lt;/DIV&gt;&lt;DIV&gt;2. How do I specify the 2 D dimension in IPP? Here "len" inippsDFTInitAlloc_C_32fc is a 1d number which I used M*N value.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Oct 2010 22:50:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/what-is-the-corresponding-function-of-DFT-in-IPP/m-p/808497#M3630</guid>
      <dc:creator>missing__zlw</dc:creator>
      <dc:date>2010-10-11T22:50:47Z</dc:date>
    </item>
    <item>
      <title>what is the corresponding function of DFT in IPP?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/what-is-the-corresponding-function-of-DFT-in-IPP/m-p/808498#M3631</link>
      <description>Hi zlw,&lt;BR /&gt;&lt;BR /&gt;Intel IPP libraries do only single precision 2D FFTs. Here's a simple example that is supposed to do complex FFT(5x10). Please consult the documentation for the Intel IPP Image Processing library for more information.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[cpp]#include "ipp.h"
#include &lt;COMPLEX.H&gt;

int main()
{
    float _Complex x[5][10], y[5][10];
    IppiSize len = {5, 10};
    IppiDFTSpec_C_32fc *fft = NULL;
    IppStatus status = ippStsNoErr;
    status = ippiDFTInitAlloc_C_32fc(&amp;amp;fft, len, IPP_FFT_NODIV_BY_ANY, ippAlgHintAccurate); // expect ippStsNoErr
    status = ippiDFTFwd_CToC_32fc_C1R(x, 10, y, 10, fft, NULL); // expect ippStsNoErr
    status = ippiDFTFree_C_32fc(fft); // expect ippStsNoErr
    return 0;
}
[/cpp]&lt;/COMPLEX.H&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Oct 2010 17:01:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/what-is-the-corresponding-function-of-DFT-in-IPP/m-p/808498#M3631</guid>
      <dc:creator>Evgueni_P_Intel</dc:creator>
      <dc:date>2010-10-12T17:01:23Z</dc:date>
    </item>
  </channel>
</rss>

