Normally, the only change needed to build your application with FFTW3 wrappers replacing original FFTW library is to add Intel® oneAPI Math Kernel Library at the link stage (see section"Linking Your Application with Intel® oneAPI Math Kernel Library" in the Intel® oneAPI Math Kernel Library Developer Guide).

If you recompile your application, add subdirectory include\fftw to the search path for header files to avoid FFTW3 version conflicts.

Sometimes, you may have to modify your application according to the following recommendations:

  • The application requires

    #include "fftw3.h" ,

    which it probably already includes.

  • The application does not require

    #include "mkl_dfti.h" .

  • The application does not require

    #include "fftw3_mkl.h" .

    It is required only in case you want to use the MKL_RODFT00 constant.

  • If the application does not check whether a NULLplan is returned by plan creation functions, this check must be added, because the FFTW3 to Intel® oneAPI Math Kernel Library wrappers do not provide 100% of FFTW3 functionality.

Nota de otimização: 
Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.