Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 11/07/2023
Public

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

Document Table of Contents

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® oneAPI Math Kernel Library (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® oneAPI Math Kernel Library (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® oneAPI Math Kernel Library (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® oneAPI Math Kernel Library (oneMKL).

The FFTW3 wrappers are integrated in Intel® oneAPI Math Kernel Library (oneMKL). The only change required to use Intel® oneAPI Math Kernel Library (oneMKL) through the FFTW3 wrappers is to link your application using FFTW3 against Intel® oneAPI Math Kernel Library (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® oneAPI Math Kernel Library (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® oneAPI Math Kernel Library (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® oneAPI Math Kernel Library (oneMKL) FFT interface.

Trigonometric Transform Routines

for a description of Intel® oneAPI Math Kernel Library (oneMKL) TT interface.