1.MKL的安装
2.CMkeLists
include_directories(/opt/intel/mkl/include)
target_link_libraries(untitled1
/opt/intel/mkl/lib/intel64/libmkl_intel_ilp64.so
/opt/intel/mkl/lib/intel64/libmkl_core.so
/opt/intel/mkl/lib/intel64/libmkl_intel_thread.so
/opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libiomp5.so
)
3.FFT
#include <iostream>
#include <mkl_dfti.h>
#include <vector>
#include <complex.h>
std::vector<std::complex<float> > fft_complex(std::vector<std::complex<float> >& in)