<?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 Re:FFTW3 many real-to-real 1D in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW3-many-real-to-real-1D/m-p/1228913#M30358</link>
    <description>&lt;P&gt;I am not sure but did you check the fftw3 examples from mklroot\examples\fftw3xc\source\&amp;nbsp;directory?&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Nov 2020 03:15:55 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2020-11-17T03:15:55Z</dc:date>
    <item>
      <title>FFTW3 many real-to-real 1D</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW3-many-real-to-real-1D/m-p/1228085#M30342</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a code written with FFTW3 that performs many real-to-real 1D dct and I want to move to MKL to increase performance.&lt;/P&gt;
&lt;P&gt;I read into docs (&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/mkl-developer-reference-c/top/appendix-c-fftw-interface-to-intel-math-kernel-library/fftw3-interface-to-intel-math-kernel-library/using-fftw3-wrappers.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/mkl-developer-reference-c/top/appendix-c-fftw-interface-to-intel-math-kernel-library/fftw3-interface-to-intel-math-kernel-library/using-fftw3-wrappers.html&lt;/A&gt;) that multidimensional r2r transforms are not supported, instead multidimensional vector transforms are supported until &lt;EM&gt;howmany_rank&lt;/EM&gt; is 0 or 1.&lt;/P&gt;
&lt;P&gt;Data are stored in memory as 8100 rows and 11*11 columns in column-major order. I need to perform r2r dct only on first 11 columns, thus my code performs 8100 real-to-real dct of 1D data of size 11, stride 1 and distance 11*11 with following:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;int rank = 1
int size = 11
int n[] = {size}, embed[] = {size}
int stride = 1, dist = size*size
fftw_r2r_kind k[] = { FFTW_REDFT10 }

fftwf_plan_many_r2r(rank, n, 8100, pdata, embed, stride, dist, pdata, embed, stride, dist, k, FFTW_FORWARD)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works fine with FFTW3, but when I move to MKL FFTW3 wrapper resulting plan is NULL, although porting should be straightforward. &lt;/P&gt;
&lt;P&gt;What am I doing wrong? Is it possible to perform multidimensional vector transform with r2r 1D data?&lt;/P&gt;
&lt;P&gt;This is my environment configuration:&lt;/P&gt;
&lt;P&gt;MKL Version: 2020.0.4&lt;BR /&gt;OS: Windows 10 - 64 bit&lt;BR /&gt;Built under Visual Studio 2019 with vc140 compiler&lt;/P&gt;
&lt;P&gt;If you need I can provide a complete example.&lt;BR /&gt;Thank you for your support&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 11:20:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW3-many-real-to-real-1D/m-p/1228085#M30342</guid>
      <dc:creator>Codara__Giorgio</dc:creator>
      <dc:date>2020-11-13T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re:FFTW3 many real-to-real 1D</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW3-many-real-to-real-1D/m-p/1228913#M30358</link>
      <description>&lt;P&gt;I am not sure but did you check the fftw3 examples from mklroot\examples\fftw3xc\source\&amp;nbsp;directory?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2020 03:15:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW3-many-real-to-real-1D/m-p/1228913#M30358</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-11-17T03:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re:FFTW3 many real-to-real 1D</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW3-many-real-to-real-1D/m-p/1228947#M30360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for answering!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yes, I've already checked examples directory. I've only found sp/dp_plan_r2r_1d for real-to-real transform, and sp/dp_plan_many_dft, sp/dp_plan_many_dft_r2c, sp/dp_plan_many_dft_c2r for multidimensional vector transforms.&lt;/P&gt;&lt;P&gt;There is no sp/dp_plan_many_r2r.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 06:54:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/FFTW3-many-real-to-real-1D/m-p/1228947#M30360</guid>
      <dc:creator>Codara__Giorgio</dc:creator>
      <dc:date>2020-11-17T06:54:14Z</dc:date>
    </item>
  </channel>
</rss>

