<?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:Large 1D FFT fails with multiple of a prime number. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1572900#M35843</link>
    <description>&lt;P&gt;I have to confirmed that this is the real issue. We are planning to fix it the nearest update which we are planning to release the next eom. I will keep you informed when it happen.&lt;/P&gt;&lt;P&gt;--Gennady &lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 16 Feb 2024 10:18:29 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2024-02-16T10:18:29Z</dc:date>
    <item>
      <title>Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570542#M35795</link>
      <description>&lt;P&gt;One of our client reported an error on a specific size 1D FFT.&lt;BR /&gt;After some investigations we found out the issue was related to the size of the data.&lt;BR /&gt;&lt;BR /&gt;We do 1D FFT, complex numbers in float (single precision), in place configuration (DFTI_INPLACE), and the we link mkl_sequential_dll.lib.&lt;BR /&gt;&lt;BR /&gt;When the number of complex is 205'213'539, the DftiComputeForward() function returns an error code DFTI_INCONSISTENT_CONFIGURATION (3).&lt;BR /&gt;&lt;BR /&gt;We did some tests to pinpoint the problem:&lt;BR /&gt;&lt;BR /&gt;300M points, success&lt;BR /&gt;205'212'539, failure (this value is a multiple of 7, 7x29'316'077)&lt;BR /&gt;200'000'033 (prime number &amp;gt; 200M), success&lt;BR /&gt;100M, success&lt;BR /&gt;33'000'001 (prime number &amp;gt; 33M), success&lt;BR /&gt;2*33'000'001, success&lt;BR /&gt;34'000'009 (prime number &amp;gt; 34M), success&lt;BR /&gt;2*34'000'009, failure&lt;BR /&gt;3*50'000'017 (prime number &amp;gt; 50M), failure&lt;BR /&gt;&lt;BR /&gt;It seems the FFT implementation has 2 paths, radix or non radix:&lt;BR /&gt;- the non radix path (when we use a prime number) can do the calculations on whatever size&lt;BR /&gt;- the radix path (when we use a multiple of prime number) seems to have a limit around radix * 33M&lt;BR /&gt;&lt;BR /&gt;The errors have been reproduced with MKL 2022.1 and 2024.0.&lt;BR /&gt;Latest version didn't solve the issue unfortunately.&lt;BR /&gt;&lt;BR /&gt;I understand the radix path can have limitations to the number of elements, but in this case, I would expect a fallback to the non radix path instead of failing.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 10:12:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570542#M35795</guid>
      <dc:creator>Julianis</dc:creator>
      <dc:date>2024-02-08T10:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570551#M35797</link>
      <description>&lt;P&gt;Could you try to link against ILP64 mode? Check how to do that with &lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html" target="_self"&gt;MKL Linker Adviser&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 10:34:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570551#M35797</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-02-08T10:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570556#M35798</link>
      <description>&lt;P&gt;Sorry I didn't specify it, but we are already linking against mkl_intel_ilp64_dll.lib.&lt;BR /&gt;&lt;BR /&gt;To be specific we link against:&lt;BR /&gt;&lt;BR /&gt;mkl_core_dll.lib&lt;BR /&gt;mkl_intel_ilp64_dll.lib&lt;BR /&gt;mkl_intel_thread_dll.lib&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 10:38:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570556#M35798</guid>
      <dc:creator>Julianis</dc:creator>
      <dc:date>2024-02-08T10:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570560#M35799</link>
      <description>&lt;P&gt;Then please build the reproducer which will help us to check this case on our end.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 10:40:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570560#M35799</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-02-08T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570572#M35800</link>
      <description>&lt;P&gt;I modified the basic_sp_complex_dft_1d.c sample to reproduce the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 11:21:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570572#M35800</guid>
      <dc:creator>Julianis</dc:creator>
      <dc:date>2024-02-08T11:21:01Z</dc:date>
    </item>
    <item>
      <title>Re:Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570938#M35804</link>
      <description>&lt;P&gt;We reproduced the behavior and will investigate the reason. The status would be updated here.&lt;/P&gt;&lt;P&gt;--Gennady&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Feb 2024 09:41:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1570938#M35804</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-02-09T09:41:25Z</dc:date>
    </item>
    <item>
      <title>Re:Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1572900#M35843</link>
      <description>&lt;P&gt;I have to confirmed that this is the real issue. We are planning to fix it the nearest update which we are planning to release the next eom. I will keep you informed when it happen.&lt;/P&gt;&lt;P&gt;--Gennady &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Feb 2024 10:18:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1572900#M35843</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-02-16T10:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1572901#M35844</link>
      <description>&lt;P&gt;Great, thanks for the support !&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 10:20:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1572901#M35844</guid>
      <dc:creator>Julianis</dc:creator>
      <dc:date>2024-02-16T10:20:18Z</dc:date>
    </item>
    <item>
      <title>Re:Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1573752#M35856</link>
      <description>&lt;P&gt;Juilian,&lt;/P&gt;&lt;P&gt;Could you give us all problem sizes where do you see the problem beyond of those you already shared?&lt;/P&gt;&lt;P&gt;We fixed the problem and need to check all cases where do you see the problem.&lt;/P&gt;&lt;P&gt;--Gennady&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Feb 2024 07:05:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1573752#M35856</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-02-20T07:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1575337#M35870</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;sorry for the late answer, I was on vacation.&lt;BR /&gt;&lt;BR /&gt;I identified the following dimensions which reproduce the issue:&lt;BR /&gt;&lt;BR /&gt;int N = 1*34'000'009; // OK&lt;BR /&gt;//int N = 2*34'000'009; // FAILS&lt;BR /&gt;//int N = 3*34'000'009; // FAILS&lt;BR /&gt;//int N = 7*34'000'009; // FAILS&lt;BR /&gt;//int N = 11*34'000'009; // FAILS&lt;BR /&gt;//int N = 13*34'000'009; // FAILS&lt;BR /&gt;//int N = 17*34'000'009; // FAILS&lt;BR /&gt;//int N = 19*34'000'009; // FAILS&lt;BR /&gt;//int N = 23*34'000'009; // FAILS&lt;BR /&gt;//int N = 29*34'000'009; // FAILS&lt;BR /&gt;// i guess the issue is the following&lt;BR /&gt;//int N = {prime number}*34'000'009; // FAILS&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 08:45:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1575337#M35870</guid>
      <dc:creator>Julianis</dc:creator>
      <dc:date>2024-02-26T08:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1575346#M35873</link>
      <description>&lt;P&gt;thanks for the update.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 09:09:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1575346#M35873</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-02-26T09:09:15Z</dc:date>
    </item>
    <item>
      <title>Re:Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1584196#M35954</link>
      <description>&lt;P&gt;The fix of the problem available into the latest MKL 2024 u1 which has been released this week and available to download.&lt;/P&gt;&lt;P&gt;here is the log I captured while linking the case against MKL 2024 u1 and while using Verbose mode : &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Intel(R) oneAPI Math Kernel Library Version &lt;STRONG&gt;2024.1&lt;/STRONG&gt;-Product Build 20240215 for Intel(R) 64 architecture applications&lt;/P&gt;&lt;P&gt;Example basic_sp_complex_dft_1d&lt;/P&gt;&lt;P&gt;Forward and backward single-precision complex in-place 1D FFTs&lt;/P&gt;&lt;P&gt;Configuration parameters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_PRECISION&amp;nbsp;&amp;nbsp;&amp;nbsp;= DFTI_SINGLE&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_FORWARD_DOMAIN = DFTI_COMPLEX&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_DIMENSION&amp;nbsp;&amp;nbsp;&amp;nbsp;= 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_LENGTHS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= {205213539}&lt;/P&gt;&lt;P&gt;Create DFTI descriptor&lt;/P&gt;&lt;P&gt;Commit DFTI descriptor&lt;/P&gt;&lt;P&gt;Allocate input array&lt;/P&gt;&lt;P&gt;Initialize input for forward transform&lt;/P&gt;&lt;P&gt;Compute forward transform&lt;/P&gt;&lt;P&gt;MKL_VERBOSE oneMKL 2024.0 Update 1 Product build 20240215 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) enabled processors, Lnx 2.40GHz sequential&lt;/P&gt;&lt;P&gt;MKL_VERBOSE FFT(&lt;STRONG&gt;scfi205213539&lt;/STRONG&gt;,tLim:1,desc:0x55bf372031c0) 35.78s CNR:OFF Dyn:1 FastMM:1&lt;/P&gt;&lt;P&gt;...DftiComputeForward &lt;STRONG&gt;returns 0&lt;/STRONG&gt; Verify the result of forward FFT&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Verify the result, errthr = 1.65e-05&lt;/P&gt;&lt;P&gt;&amp;nbsp;Verified, maximum error was 4.52e-07&lt;/P&gt;&lt;P&gt;Initialize input for backward transform&lt;/P&gt;&lt;P&gt;Compute backward transform&lt;/P&gt;&lt;P&gt;MKL_VERBOSE FFT(scbi205213539,tLim:1,desc:0x55bf372031c0) 32.04s CNR:OFF Dyn:1 FastMM:1&lt;/P&gt;&lt;P&gt;Verify the result of backward FFT&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Mar 2024 08:49:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1584196#M35954</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-03-28T08:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Large 1D FFT fails with multiple of a prime number.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1585395#M35964</link>
      <description>&lt;P&gt;I confirm the problem is fixed with the latest mkl version.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 07:14:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Large-1D-FFT-fails-with-multiple-of-a-prime-number/m-p/1585395#M35964</guid>
      <dc:creator>Julianis</dc:creator>
      <dc:date>2024-04-02T07:14:55Z</dc:date>
    </item>
  </channel>
</rss>

