<?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 problem with multiple FFT when DFTI_PLACEMENT is NOT_INPLACE in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-multiple-FFT-when-DFTI-PLACEMENT-is-NOT-INPLACE/m-p/890627#M10416</link>
    <description>&lt;P&gt;Greetings,&lt;/P&gt;
&lt;P&gt;I have an array which contains evenly spaced data for multiple FFT's. The FFT yields the proper results as long as the results are placed in the original array. If I change the DFTI_PLACEMENT value to DFTI_NOT_INPLACE then only the first FFT is calculated and placed in the new array. Here's the code which performs the FFT:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;   DFTI_DESCRIPTOR *handle;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #aa0d91;"&gt;long&lt;/SPAN&gt; status;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #aa0d91;"&gt;int&lt;/SPAN&gt; mult = nz;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiCreateDescriptor(&amp;amp;handle, DFTI_DOUBLE, DFTI_COMPLEX,&lt;SPAN style="color: #1c00cf;"&gt;1&lt;/SPAN&gt;, ntheta);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_PLACEMENT, DFTI_NOT_INPLACE);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_FORWARD_SCALE, &lt;SPAN style="color: #1c00cf;"&gt;1.&lt;/SPAN&gt;/&lt;SPAN style="color: #aa0d91;"&gt;double&lt;/SPAN&gt;(ntheta));&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_NUMBER_OF_TRANSFORMS, nz);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_INPUT_DISTANCE, ntheta);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiCommitDescriptor(handle);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiComputeForward(handle, sidewall,fftsidewall);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiFreeDescriptor(&amp;amp;handle);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;Any assistance would be appreciated. I should also mention that I'm running this on an OSX 10.5.5 machine and using the MKL which comes with the 11.0.056 intel c++ compiler. I'm using the 64-bit libraries, and they have been dynamically linked.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2008 22:55:56 GMT</pubDate>
    <dc:creator>ringlery</dc:creator>
    <dc:date>2008-12-02T22:55:56Z</dc:date>
    <item>
      <title>problem with multiple FFT when DFTI_PLACEMENT is NOT_INPLACE</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-multiple-FFT-when-DFTI-PLACEMENT-is-NOT-INPLACE/m-p/890627#M10416</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;
&lt;P&gt;I have an array which contains evenly spaced data for multiple FFT's. The FFT yields the proper results as long as the results are placed in the original array. If I change the DFTI_PLACEMENT value to DFTI_NOT_INPLACE then only the first FFT is calculated and placed in the new array. Here's the code which performs the FFT:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;   DFTI_DESCRIPTOR *handle;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #aa0d91;"&gt;long&lt;/SPAN&gt; status;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #aa0d91;"&gt;int&lt;/SPAN&gt; mult = nz;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiCreateDescriptor(&amp;amp;handle, DFTI_DOUBLE, DFTI_COMPLEX,&lt;SPAN style="color: #1c00cf;"&gt;1&lt;/SPAN&gt;, ntheta);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_PLACEMENT, DFTI_NOT_INPLACE);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_FORWARD_SCALE, &lt;SPAN style="color: #1c00cf;"&gt;1.&lt;/SPAN&gt;/&lt;SPAN style="color: #aa0d91;"&gt;double&lt;/SPAN&gt;(ntheta));&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_NUMBER_OF_TRANSFORMS, nz);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiSetValue(handle, DFTI_INPUT_DISTANCE, ntheta);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiCommitDescriptor(handle);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiComputeForward(handle, sidewall,fftsidewall);&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;status = DftiFreeDescriptor(&amp;amp;handle);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco;"&gt;Any assistance would be appreciated. I should also mention that I'm running this on an OSX 10.5.5 machine and using the MKL which comes with the 11.0.056 intel c++ compiler. I'm using the 64-bit libraries, and they have been dynamically linked.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 22:55:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-multiple-FFT-when-DFTI-PLACEMENT-is-NOT-INPLACE/m-p/890627#M10416</guid>
      <dc:creator>ringlery</dc:creator>
      <dc:date>2008-12-02T22:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with multiple FFT when DFTI_PLACEMENT is NOT_INPLAC</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-multiple-FFT-when-DFTI-PLACEMENT-is-NOT-INPLACE/m-p/890628#M10417</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Perhaps, adding DftiSetValue(handle,DFTI_OUTPUT_DISTANCE,ntheta) will help.&lt;/P&gt;
&lt;P&gt;Dima&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2008 12:12:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-multiple-FFT-when-DFTI-PLACEMENT-is-NOT-INPLACE/m-p/890628#M10417</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2008-12-03T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem with multiple FFT when DFTI_PLACEMENT is NOT_INPLAC</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-multiple-FFT-when-DFTI-PLACEMENT-is-NOT-INPLACE/m-p/890629#M10418</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/93647"&gt;Dmitry Baksheev (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Perhaps, adding DftiSetValue(handle,DFTI_OUTPUT_DISTANCE,ntheta) will help.&lt;/P&gt;
&lt;P&gt;Dima&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Yup, that worked perfectly. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2008 18:46:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-multiple-FFT-when-DFTI-PLACEMENT-is-NOT-INPLACE/m-p/890629#M10418</guid>
      <dc:creator>ringlery</dc:creator>
      <dc:date>2008-12-03T18:46:45Z</dc:date>
    </item>
  </channel>
</rss>

