diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-08-17 12:07:10 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-08-17 12:07:10 +0200 |
commit | b95f92843c58a914c46ab091009146288b8b775c (patch) | |
tree | 2614c1eb9d2f8a21d0bcaf03635ffcb605a3f65f /Eigen/src/Core/util/MKL_support.h | |
parent | 89c01a494aff2bd03b48a9858eed95a4a7ce9556 (diff) |
Fix support for MKL's BLAS when using MKL_DIRECT_CALL.
Diffstat (limited to 'Eigen/src/Core/util/MKL_support.h')
-rwxr-xr-x | Eigen/src/Core/util/MKL_support.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Eigen/src/Core/util/MKL_support.h b/Eigen/src/Core/util/MKL_support.h index 26b59669e..e656799bf 100755 --- a/Eigen/src/Core/util/MKL_support.h +++ b/Eigen/src/Core/util/MKL_support.h @@ -53,6 +53,7 @@ #define EIGEN_USE_MKL #endif + #if defined EIGEN_USE_MKL # include <mkl.h> /*Check IMKL version for compatibility: < 10.3 is not usable with Eigen*/ @@ -108,6 +109,10 @@ #endif #endif +#if defined(EIGEN_USE_BLAS) && !defined(EIGEN_USE_MKL) +#include "../../misc/blas.h" +#endif + namespace Eigen { typedef std::complex<double> dcomplex; @@ -121,8 +126,5 @@ typedef int BlasIndex; } // end namespace Eigen -#if defined(EIGEN_USE_BLAS) -#include "../../misc/blas.h" -#endif #endif // EIGEN_MKL_SUPPORT_H |