<?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 How to parallelize FFT computation in MKL? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-parallelize-FFT-computation-in-MKL/m-p/792196#M2304</link>
    <description>&lt;P&gt;I try to parallelize the fft computation in each row of the matrix fu(m,2), but the result is not correct. The following is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type(DFTI_DESCRIPTOR), SAVE,POINTER :: My_FFT_Handle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nthreads=omp_get_max_threads ();&lt;/P&gt;&lt;P&gt;Status = DftiCreateDescriptor(My_FFT_Handle, DFTI_DOUBLE, DFTI_REAL, 1, m)&lt;/P&gt;&lt;P&gt;Status = DftiSetValue (My_FFT_Handle, DFTI_NUMBER_OF_USER_THREADS, nThreads);&lt;/P&gt;&lt;P&gt;Status = DftiCommitDescriptor(My_FFT_Handle)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!$OMP PARALLEL DO&lt;/P&gt;&lt;P&gt;do ic=1,2&lt;/P&gt;&lt;P&gt; Status = DftiComputeForward(My_FFT_Handle,fu(:,ic))&lt;/P&gt;&lt;P&gt;end do&lt;/P&gt;&lt;P&gt;!$OMP END PARALLEL DO&lt;BR /&gt;stop&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The results of fu(:,2) is sometimes not correct. Whats wrong in the code?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sun, 07 Nov 2010 12:43:29 GMT</pubDate>
    <dc:creator>hadesmajesty</dc:creator>
    <dc:date>2010-11-07T12:43:29Z</dc:date>
    <item>
      <title>How to parallelize FFT computation in MKL?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-parallelize-FFT-computation-in-MKL/m-p/792196#M2304</link>
      <description>&lt;P&gt;I try to parallelize the fft computation in each row of the matrix fu(m,2), but the result is not correct. The following is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type(DFTI_DESCRIPTOR), SAVE,POINTER :: My_FFT_Handle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nthreads=omp_get_max_threads ();&lt;/P&gt;&lt;P&gt;Status = DftiCreateDescriptor(My_FFT_Handle, DFTI_DOUBLE, DFTI_REAL, 1, m)&lt;/P&gt;&lt;P&gt;Status = DftiSetValue (My_FFT_Handle, DFTI_NUMBER_OF_USER_THREADS, nThreads);&lt;/P&gt;&lt;P&gt;Status = DftiCommitDescriptor(My_FFT_Handle)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!$OMP PARALLEL DO&lt;/P&gt;&lt;P&gt;do ic=1,2&lt;/P&gt;&lt;P&gt; Status = DftiComputeForward(My_FFT_Handle,fu(:,ic))&lt;/P&gt;&lt;P&gt;end do&lt;/P&gt;&lt;P&gt;!$OMP END PARALLEL DO&lt;BR /&gt;stop&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The results of fu(:,2) is sometimes not correct. Whats wrong in the code?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2010 12:43:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-parallelize-FFT-computation-in-MKL/m-p/792196#M2304</guid>
      <dc:creator>hadesmajesty</dc:creator>
      <dc:date>2010-11-07T12:43:29Z</dc:date>
    </item>
  </channel>
</rss>

