<?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 Hi Ziren C. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000868#M18559</link>
    <description>&lt;P&gt;Hi Ziren C.&lt;/P&gt;

&lt;P&gt;DftiCreateDescriptor takes an MKL_LONG or an array of MKL_LONG as the last argument -- please&amp;nbsp;consult the reference manual h&lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-documentation"&gt;ttps://software.intel.com/en-us/articles/intel-math-kernel-library-documentation&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Casting M to MKL_LONG should solve the problem on 64-bit systems. Please let me know, if you use a 32-bit system.&lt;/P&gt;

&lt;P&gt;Evgueni.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2015 05:07:53 GMT</pubDate>
    <dc:creator>Evgueni_P_Intel</dc:creator>
    <dc:date>2015-07-07T05:07:53Z</dc:date>
    <item>
      <title>Question: cycle count of 65536 MKL FFT DftiComputeForward(C++)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000867#M18558</link>
      <description>&lt;P&gt;My code as followings:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;fft_mkl(int M,float * InputData,float * OutputData)&lt;/P&gt;

&lt;P&gt;{&lt;/P&gt;

&lt;P style="margin-left: 21pt;"&gt;MKL_LONG status;&lt;/P&gt;

&lt;P style="margin-left: 21pt;"&gt;DFTI_DESCRIPTOR my_desc1_handle;&lt;BR /&gt;
	DftiCreateDescriptor( &amp;amp;my_desc1_handle, DFTI_SINGLE,DFTI_COMPLEX, 1, M);&lt;BR /&gt;
	DftiSetValue( my_desc1_handle, DFTI_PLACEMENT, DFTI_NOT_INPLACE);&lt;BR /&gt;
	DftiCommitDescriptor( my_desc1_handle );&lt;BR /&gt;
	status = DftiComputeForward( my_desc1_handle, InputData, OutputData);&lt;BR /&gt;
	status = DftiFreeDescriptor(&amp;amp;my_desc1_handle);&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;float *test = new float [65536*2];&lt;/P&gt;

&lt;P&gt;float *test_out = new float [65536*2];&lt;/P&gt;

&lt;P&gt;memset(test,85,4*32768);&lt;/P&gt;

&lt;P&gt;memset(test,0,4*(65536*2-32768));&lt;/P&gt;

&lt;P&gt;fft_mkl(65536,test,test_out);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Actually ,the result is wrong. It is different from fftw wrapper with 65536. But 32768 is right.Why?&lt;/P&gt;

&lt;P&gt;MKL version:10.2.4.032&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;

&lt;P&gt;Ziren C.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 02:39:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000867#M18558</guid>
      <dc:creator>____3</dc:creator>
      <dc:date>2015-07-07T02:39:17Z</dc:date>
    </item>
    <item>
      <title>Hi Ziren C.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000868#M18559</link>
      <description>&lt;P&gt;Hi Ziren C.&lt;/P&gt;

&lt;P&gt;DftiCreateDescriptor takes an MKL_LONG or an array of MKL_LONG as the last argument -- please&amp;nbsp;consult the reference manual h&lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-documentation"&gt;ttps://software.intel.com/en-us/articles/intel-math-kernel-library-documentation&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Casting M to MKL_LONG should solve the problem on 64-bit systems. Please let me know, if you use a 32-bit system.&lt;/P&gt;

&lt;P&gt;Evgueni.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 05:07:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000868#M18559</guid>
      <dc:creator>Evgueni_P_Intel</dc:creator>
      <dc:date>2015-07-07T05:07:53Z</dc:date>
    </item>
    <item>
      <title>Hi Evgueni,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000869#M18560</link>
      <description>&lt;P&gt;Hi Evgueni,&lt;/P&gt;

&lt;P&gt;Thanks for your answer. My system is Windows 7 64-bit.&lt;/P&gt;

&lt;P&gt;Ziren C&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 15:13:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000869#M18560</guid>
      <dc:creator>____3</dc:creator>
      <dc:date>2015-07-07T15:13:30Z</dc:date>
    </item>
    <item>
      <title>Hi Evgueni,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000870#M18561</link>
      <description>Hi Evgueni,
 
Thanks for your answer. My system is Windows 7 64-bit.
 
Ziren C

&lt;BLOCKQUOTE&gt;Evgueni Petrov aka espetrov (Intel) wrote:&lt;BR /&gt; &lt;P&gt;Hi Ziren C.&lt;/P&gt;
&lt;P&gt;DftiCreateDescriptor takes an MKL_LONG or an array of MKL_LONG as the last argument -- please&amp;nbsp;consult the reference manual h&lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-documentation"&gt;ttps://software.intel.com/en-us/articles/intel-math-kernel-library-documentation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Casting M to MKL_LONG should solve the problem on 64-bit systems. Please let me know, if you use a 32-bit system.&lt;/P&gt;
&lt;P&gt;Evgueni.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
 &lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 07 Jul 2015 15:21:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Question-cycle-count-of-65536-MKL-FFT-DftiComputeForward-C/m-p/1000870#M18561</guid>
      <dc:creator>____3</dc:creator>
      <dc:date>2015-07-07T15:21:29Z</dc:date>
    </item>
  </channel>
</rss>

