<?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 Memory buffer for in-place multi-dimensional FFT on clusters in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-buffer-for-in-place-multi-dimensional-FFT-on-clusters/m-p/1093809#M23403</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I'm trying to compute in-place FFT of 3-dim arrays on clusters. As far as I have tried using the MKL FFTW3 wrapper, a&amp;nbsp;buffer memory of the same amount as the original array seems to be allocated on creating a FFTW plan. Due to the limitation of available memory, I would like to reduce the size of memory buffer.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Is there any way to control the size of buffer memory using the MKL FFTW3 wrapper? If this is not possible with the FFTW3 wrapper, I would also like to know if this is possible at the level of the MKL FFT routines.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best, -T&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jun 2016 09:23:37 GMT</pubDate>
    <dc:creator>sekiguchi__tetsuro</dc:creator>
    <dc:date>2016-06-12T09:23:37Z</dc:date>
    <item>
      <title>Memory buffer for in-place multi-dimensional FFT on clusters</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-buffer-for-in-place-multi-dimensional-FFT-on-clusters/m-p/1093809#M23403</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I'm trying to compute in-place FFT of 3-dim arrays on clusters. As far as I have tried using the MKL FFTW3 wrapper, a&amp;nbsp;buffer memory of the same amount as the original array seems to be allocated on creating a FFTW plan. Due to the limitation of available memory, I would like to reduce the size of memory buffer.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Is there any way to control the size of buffer memory using the MKL FFTW3 wrapper? If this is not possible with the FFTW3 wrapper, I would also like to know if this is possible at the level of the MKL FFT routines.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best, -T&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 09:23:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-buffer-for-in-place-multi-dimensional-FFT-on-clusters/m-p/1093809#M23403</guid>
      <dc:creator>sekiguchi__tetsuro</dc:creator>
      <dc:date>2016-06-12T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Hi Toyokazu,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-buffer-for-in-place-multi-dimensional-FFT-on-clusters/m-p/1093810#M23404</link>
      <description>&lt;P&gt;Hi Toyokazu,&lt;/P&gt;

&lt;P&gt;Original FFTW3 MPI does honest in-place FFT transform if out-pointer is the same as in-pointer -- i.e. no extra memory is used. MKL FFTW3 MPI wrappers do not do that by default for performance reasons -- they indeed allocate addition buffer and use out-of-place transform.&lt;/P&gt;

&lt;P&gt;If you use Intel MKL 11.3 or higher you can redefine WANT_FAST_INPLACE_CLUSTER_FFT macro to 0 (by default it is set to 1) and recompile MKL FFTW3 MPI wrappers. This macro says wrappers to not use extra workspace and do honest in-place transform with a price of performance. You can find this macro in $MKLROOT/include/fftw/fftw3-mpi_mkl.h (line ~53).&lt;/P&gt;

&lt;P&gt;DFTI interface also allows not using extra workspace -- just configure DFTI DM descriptor with placement set to DFTI_INPLACE.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 10:43:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-buffer-for-in-place-multi-dimensional-FFT-on-clusters/m-p/1093810#M23404</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2016-06-13T10:43:11Z</dc:date>
    </item>
  </channel>
</rss>

