diff options
Diffstat (limited to 'Eigen/src/Core/util')
-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 |