mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-17 18:09:55 +08:00
more work on ei_fftw_impl
This commit is contained in:
parent
1fd6dfe428
commit
1c54340174
@ -26,6 +26,10 @@
|
||||
#include <vector>
|
||||
#include <Eigen/Core>
|
||||
#include <bench/BenchTimer.h>
|
||||
#ifdef USE_FFTW
|
||||
#include <fftw3.h>
|
||||
#endif
|
||||
|
||||
#include <unsupported/Eigen/FFT>
|
||||
|
||||
using namespace Eigen;
|
||||
|
@ -32,7 +32,8 @@
|
||||
// FFTW: faster, GPL -- incompatible with Eigen in LGPL form, bigger code size
|
||||
#ifdef FFTW_ESTIMATE // definition of FFTW_ESTIMATE indicates the caller has included fftw3.h, we can use FFTW routines
|
||||
#include "src/FFT/ei_fftw_impl.h"
|
||||
// #define DEFAULT_FFT_IMPL ei_fftw_impl
|
||||
#undef DEFAULT_FFT_IMPL
|
||||
#define DEFAULT_FFT_IMPL ei_fftw_impl
|
||||
#endif
|
||||
|
||||
// intel Math Kernel Library: fastest, commerical -- incompatible with Eigen in GPL form
|
||||
|
@ -23,6 +23,11 @@
|
||||
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "main.h"
|
||||
//#define USE_FFTW
|
||||
#ifdef USE_FFTW
|
||||
#include <fftw3.h>
|
||||
#endif
|
||||
|
||||
#include <unsupported/Eigen/FFT>
|
||||
|
||||
using namespace std;
|
||||
|
Loading…
Reference in New Issue
Block a user