Developer Reference for Intel® oneAPI Math Kernel Library for C
FFTW3 Interface to Intel® oneAPI Math Kernel Library
This section describes a collection of FFTW3 wrappers to Intel® oneAPI Math Kernel Library (oneMKL). The wrappers translate calls of FFTW3 functions to the calls of the Intel® oneMKL Fourier transform (FFT) or Trigonometric Transform (TT) functions. The purpose of FFTW3 wrappers is to enable developers whose programs currently use the FFTW3 library to gain performance with the Intel® oneMKL Fourier transforms without changing the program source code.
The FFTW3 wrappers provide a limited functionality compared to the original FFTW 3.x library, because of differences between FFTW and Intel® oneMKL FFT and TT functionality. This section describes limitations of the FFTW3 wrappers and hints for their usage. Nevertheless, many typical FFT tasks can be performed using the FFTW3 wrappers to Intel® oneMKL.
The FFTW3 wrappers are integrated in Intel® oneMKL. The only change required to use Intel® oneMKL through the FFTW3 wrappers is to link your application using FFTW3 against Intel® oneMKL.
A reference implementation of the FFTW3 wrappers is also provided in open source. You can find it in the interfaces directory of the Intel® oneMKL distribution. You can use the reference implementation to create your own wrapper library (see Building Your Own Wrapper Library)
See also these resources:
Intel® oneMKL Release Notes for the version of the FFTW3 library supported by the wrappers.
www.fftw.org for a description of the FFTW interface.
Fourier Transform Functions for a description of the Intel® oneMKL FFT interface.
Trigonometric Transform Routines for a description of Intel® oneMKL TT interface.