<?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 2D Complex FFT fails to put result in Output array in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/2D-Complex-FFT-fails-to-put-result-in-Output-array/m-p/880466#M9469</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Default descriptor is in-place. You need to do DftiSetValue(ifft_handle,DFTI_PLACEMENT,DFTI_NOT_INPLACE) before DftiCommitDescriptor.&lt;/P&gt;
&lt;P&gt;Also, C/C++ interface assumes row-major ordering, that is len should be initialized in reverse order, as { 2048, 512 }.&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Dima&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2010 04:03:56 GMT</pubDate>
    <dc:creator>Dmitry_B_Intel</dc:creator>
    <dc:date>2010-03-02T04:03:56Z</dc:date>
    <item>
      <title>2D Complex FFT fails to put result in Output array</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/2D-Complex-FFT-fails-to-put-result-in-Output-array/m-p/880465#M9468</link>
      <description>&lt;P&gt;Problem:&lt;/P&gt;
&lt;P&gt;2D backwards FFT, passing both input array and output array. both complex. upon return I see that the output array is all zero and the input array has been totally changed. returned status is zero on all calls.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;C Code:&lt;/P&gt;
&lt;P&gt;===========================================&lt;/P&gt;
&lt;P&gt;static complex Ip [2048][512]; // output of InterPolater&lt;BR /&gt;static complex RDop [2048][512]; // 2D FFT Output&lt;/P&gt;
&lt;P&gt;DFTI_DESCRIPTOR_HANDLE ifft_handle;&lt;BR /&gt; long status, len[3];&lt;BR /&gt; len[0] = 512;    &lt;BR /&gt; len[1] = 2048 ;   &lt;BR /&gt; status = DftiCreateDescriptor( &amp;amp;ifft_handle, DFTI_SINGLE, DFTI_COMPLEX, 2, len);&lt;BR /&gt; status = DftiCommitDescriptor( ifft_handle);&lt;BR /&gt;status = DftiComputeBackward( ifft_handle, &amp;amp;(Ip[0][0]), &amp;amp;RDop); // 2D IFFT of Ip, result placed in Rdop&lt;BR /&gt;status = DftiFreeDescriptor(&amp;amp;ifft_handle);&lt;BR /&gt;===========================&lt;/P&gt;
&lt;P&gt;What do I need to do to get the FFT output in RDop ? [Note: I have tried it both with and without the &amp;amp; on the array arguements. ] [Note also that the Ip array is filled -- no gaps, no stride issues]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2010 20:27:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/2D-Complex-FFT-fails-to-put-result-in-Output-array/m-p/880465#M9468</guid>
      <dc:creator>jmorgie</dc:creator>
      <dc:date>2010-03-01T20:27:49Z</dc:date>
    </item>
    <item>
      <title>2D Complex FFT fails to put result in Output array</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/2D-Complex-FFT-fails-to-put-result-in-Output-array/m-p/880466#M9469</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Default descriptor is in-place. You need to do DftiSetValue(ifft_handle,DFTI_PLACEMENT,DFTI_NOT_INPLACE) before DftiCommitDescriptor.&lt;/P&gt;
&lt;P&gt;Also, C/C++ interface assumes row-major ordering, that is len should be initialized in reverse order, as { 2048, 512 }.&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Dima&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2010 04:03:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/2D-Complex-FFT-fails-to-put-result-in-Output-array/m-p/880466#M9469</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2010-03-02T04:03:56Z</dc:date>
    </item>
  </channel>
</rss>

