more work on ei_fftw_impl

This commit is contained in:
Mark Borgerding 2009-05-31 15:44:57 -04:00
parent 1fd6dfe428
commit 1c54340174
3 changed files with 11 additions and 1 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;