Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 12/16/2022
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. The wrappers translate calls of FFTW3 functions to the calls of the Intel® oneAPI Math Kernel Library 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 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 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.

The FFTW3 wrappers are integrated in Intel® oneAPI Math Kernel Library. The only change required to use Intel® oneAPI Math Kernel Library through the FFTW3 wrappers is to link your application using FFTW3 against Intel® oneAPI Math Kernel Library.

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 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 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 FFT interface.

Trigonometric Transform Routines

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