Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6590 Discussions

How to maximize the speed of FFT in the MKL library?

Serjio
New Contributor I
513 Views

I read that Matlab is able to calculate some coefficients for FFTs that help him to do FFTs very quickly.


The first time Matlab calculates these coefficients, so the first time he does the calculations slowly, but then he uses the calculated coefficients and makes the calculations much faster.

 

Does the MKL library know how to do the same? Perhaps, if I don't delete the DFTI_DESCRIPTOR_HANDLE descriptor after calculations, then the following calculations will be even faster?

 

0 Kudos
5 Replies
VidyalathaB_Intel
Moderator
488 Views

Hi,

Thanks for reaching out to us.

Could you please explain what do you mean by the following calculations will be even faster and if possible provide us a code snippet 

which helps us to get some more insights regarding the issue.

and also please do let us know your environment details 

OS &version

MKL Version


Regards,

Vidya. 


Serjio
New Contributor I
453 Views

This refers to the rotational coefficients W of the FFT algorithm.

The FFT calculation the first time will be slower than subsequent times because the first calculation calculates the rotation coefficients W.

After calculating the rotational factors W, the FFT calculation becomes faster.

I want to know what MKL tools are available to me to make the FFT as fast as possible.

VidyalathaB_Intel
Moderator
424 Views

Hi,


>>I want to know what MKL tools are available to me to make the FFT as fast as possible.


There is a tool named FFT Length-Advisor which will make FFT to perform fastest.

Please refer the below link which helps you to get more details regarding the tool

https://software.intel.com/content/www/us/en/develop/articles/fft-length-and-layout-advisor.html?wap...)


Hope the provided information might help you.


Regards,

Vidya.



VidyalathaB_Intel
Moderator
379 Views

Hi,


Reminder:


Has the information provided helped? If so could you please confirm whether we can close this thread from our end?


Regards,

Vidya.


VidyalathaB_Intel
Moderator
346 Views

Hi,

 

I assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Have a good day!

 

Regards,

Vidya.

 

Reply