Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Windows*

ID 766692
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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 (oneMKL) Fourier transform functions. These collections correspond to the FFTW versions 2.x and 3.x and the Intel® oneAPI Math Kernel Library (oneMKL) versions 7.0 and later.

These wrappers enable using Intel® oneAPI Math Kernel Library (oneMKL) 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 (oneMKL) Developer Reference for details on the use of the wrappers.

IMPORTANT:

For ease of use, the FFTW3 interface is also integrated in Intel® oneAPI Math Kernel Library (oneMKL).

CAUTION:

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:

  1. Change every instance of fftw_destroy_plan in the fftw2xc interface to fftw2_destroy_plan.
  2. Change all the corresponding file names accordingly.
  3. Rebuild the pertinent libraries.