<?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/792293#M2319</link>
    <description>Thank you Dima.&lt;BR /&gt;&lt;BR /&gt;It seems there is no difference by allocating fu(M+2,2) in sequential code, but by doing this in parallel code, I can obtain the correct result.&lt;BR /&gt;&lt;BR /&gt;By the way, the additional data in fu(M+1:M+2,:) are meaningless and they are there to just make the routine work, are they?</description>
    <pubDate>Mon, 08 Nov 2010 06:38:27 GMT</pubDate>
    <dc:creator>hadesmajesty</dc:creator>
    <dc:date>2010-11-08T06:38:27Z</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/792290#M2316</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;/P&gt;&lt;P&gt;stop&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 13:42:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-parallelize-FFT-computation-in-MKL/m-p/792290#M2316</guid>
      <dc:creator>hadesmajesty</dc:creator>
      <dc:date>2010-11-07T13:42:05Z</dc:date>
    </item>
    <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/792291#M2317</link>
      <description>Please look at the example #4 from the KB "&lt;A href="http://software.intel.com/en-us/articles/different-parallelization-techniques-and-intel-mkl-fft/"&gt;Different parallelization techniques and Intel MKL FFT&lt;/A&gt;"&lt;DIV&gt;&lt;H1&gt;&lt;/H1&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 07 Nov 2010 17:04:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-parallelize-FFT-computation-in-MKL/m-p/792291#M2317</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-11-07T17:04:44Z</dc:date>
    </item>
    <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/792292#M2318</link>
      <description>Hi, hidesmajesty,&lt;BR /&gt;&lt;BR /&gt;The real in-place FFT specified by DftiCreateDescriptor(..., DFTI_REAL, 1, M) accepts input of M real values and needs space of M+2 real elements for output. That means the matrix should be declared/allocated thus:&lt;BR /&gt;double precision fu(M+2,2)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Dima&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2010 05:21:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-parallelize-FFT-computation-in-MKL/m-p/792292#M2318</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2010-11-08T05:21:48Z</dc:date>
    </item>
    <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/792293#M2319</link>
      <description>Thank you Dima.&lt;BR /&gt;&lt;BR /&gt;It seems there is no difference by allocating fu(M+2,2) in sequential code, but by doing this in parallel code, I can obtain the correct result.&lt;BR /&gt;&lt;BR /&gt;By the way, the additional data in fu(M+1:M+2,:) are meaningless and they are there to just make the routine work, are they?</description>
      <pubDate>Mon, 08 Nov 2010 06:38:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-parallelize-FFT-computation-in-MKL/m-p/792293#M2319</guid>
      <dc:creator>hadesmajesty</dc:creator>
      <dc:date>2010-11-08T06:38:27Z</dc:date>
    </item>
  </channel>
</rss>

