FFTW Interface Support
Intel® oneAPI Math Kernel Library (oneMKL) offers two collections of wrappers for the FFTW interface (www.fftw.org). The wrappers are the superstructure of FFTW to be used for calling the Intel® oneAPI Math Kernel Library Fourier transform functions. These collections correspond to the FFTW versions 2.x and 3.x and the Intel® oneAPI Math Kernel Library versions 7.0 and later.
These wrappers enable using Intel® oneAPI Math Kernel Library Fourier transforms to improve the performance of programs that use FFTW without changing the program source code. See the "FFTW Interface to Intel® oneAPI Math Kernel Library" appendix in the Intel® oneAPI Math Kernel Library Developer Reference for details on the use of the wrappers.
For ease of use, the FFTW3 interface is also integrated in Intel® oneAPI Math Kernel Library.
The FFTW2 and FFTW3 interfaces are not compatible with each other. Avoid linking to both of them. If you must do so, first modify the wrapper source code for FFTW2:
- Change every instance of fftw_destroy_plan in the fftw2xc interface to fftw2_destroy_plan.
- Change all the corresponding file names accordingly.
- Rebuild the pertinent libraries.