mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
more work on ei_fftw_impl
This commit is contained in:
parent
1fd6dfe428
commit
1c54340174
@ -26,6 +26,10 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <Eigen/Core>
|
#include <Eigen/Core>
|
||||||
#include <bench/BenchTimer.h>
|
#include <bench/BenchTimer.h>
|
||||||
|
#ifdef USE_FFTW
|
||||||
|
#include <fftw3.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <unsupported/Eigen/FFT>
|
#include <unsupported/Eigen/FFT>
|
||||||
|
|
||||||
using namespace Eigen;
|
using namespace Eigen;
|
||||||
|
@ -32,7 +32,8 @@
|
|||||||
// FFTW: faster, GPL -- incompatible with Eigen in LGPL form, bigger code size
|
// 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
|
#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"
|
#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
|
#endif
|
||||||
|
|
||||||
// intel Math Kernel Library: fastest, commerical -- incompatible with Eigen in GPL form
|
// 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/>.
|
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
//#define USE_FFTW
|
||||||
|
#ifdef USE_FFTW
|
||||||
|
#include <fftw3.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <unsupported/Eigen/FFT>
|
#include <unsupported/Eigen/FFT>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user