diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-07-25 17:55:07 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-07-25 17:55:07 +0200 |
commit | 4d54e3dd332b7f07eccb428df2e1e3074abc3aeb (patch) | |
tree | 12b3875bf38d7fec6e2c5ae6bbccf4a5073af772 /Eigen/src/Core/util/MKL_support.h | |
parent | 34b483e25de4ed15977ec99b1677b0b9319bba0a (diff) |
bug #173: remove dependency to MKL for LAPACKe backend.
Diffstat (limited to 'Eigen/src/Core/util/MKL_support.h')
-rw-r--r-- | Eigen/src/Core/util/MKL_support.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/MKL_support.h b/Eigen/src/Core/util/MKL_support.h index 8c9239b1d..5b020e19b 100644 --- a/Eigen/src/Core/util/MKL_support.h +++ b/Eigen/src/Core/util/MKL_support.h @@ -49,7 +49,7 @@ #define EIGEN_USE_LAPACKE #endif -#if defined(EIGEN_USE_LAPACKE) || defined(EIGEN_USE_MKL_VML) +#if defined(EIGEN_USE_MKL_VML) #define EIGEN_USE_MKL #endif @@ -72,7 +72,6 @@ #endif #if defined EIGEN_USE_MKL -#include <mkl_lapacke.h> #define EIGEN_MKL_VML_THRESHOLD 128 /* MKL_DOMAIN_BLAS, etc are defined only in 10.3 update 7 */ @@ -125,4 +124,8 @@ typedef int BlasIndex; #include "../../misc/blas.h" #endif +#ifdef EIGEN_USE_LAPACKE +#include "../../misc/lapacke.h" +#endif + #endif // EIGEN_MKL_SUPPORT_H |