Building an Application With FFTW3 Interface
Wrappers
Normally, the only change needed to build your application with FFTW3 wrappers replacing original FFTW library is to add at the link stage (see section
Intel® oneAPI Math Kernel Library
"Linking Your Application with " in the Developer Guide
).
Intel® oneAPI
Math Kernel LibraryIntel® oneAPI Math Kernel Library
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 theMKL_RODFT00constant.
- If the application does not check whether aNULLplan is returned by plan creation functions, this check must be added, because the FFTW3 towrappers do not provide 100% of FFTW3 functionality.Intel® oneAPI Math Kernel Library