From 7f7e84aa3619e5fadf9a32fddbfd6dcd17db72e9 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 26 Jul 2016 13:31:29 +0200 Subject: [PATCH] Fix compilation with MKL support --- Eigen/src/Core/util/MKL_support.h | 1 + Eigen/src/misc/lapacke.h | 4 ++++ 2 files changed, 5 insertions(+) mode change 100644 => 100755 Eigen/src/Core/util/MKL_support.h mode change 100644 => 100755 Eigen/src/misc/lapacke.h diff --git a/Eigen/src/Core/util/MKL_support.h b/Eigen/src/Core/util/MKL_support.h old mode 100644 new mode 100755 index 550d84e0a..26b59669e --- a/Eigen/src/Core/util/MKL_support.h +++ b/Eigen/src/Core/util/MKL_support.h @@ -72,6 +72,7 @@ #endif #if defined EIGEN_USE_MKL + #define EIGEN_MKL_VML_THRESHOLD 128 /* MKL_DOMAIN_BLAS, etc are defined only in 10.3 update 7 */ diff --git a/Eigen/src/misc/lapacke.h b/Eigen/src/misc/lapacke.h old mode 100644 new mode 100755 index 1c0d8543d..8c7e79b03 --- a/Eigen/src/misc/lapacke.h +++ b/Eigen/src/misc/lapacke.h @@ -31,6 +31,8 @@ * Generated November, 2011 *****************************************************************************/ +#ifndef _MKL_LAPACKE_H_ + #ifndef _LAPACKE_H_ #define _LAPACKE_H_ @@ -16285,3 +16287,5 @@ void LAPACK_zsyr( char* uplo, lapack_int* n, lapack_complex_double* alpha, #endif /* __cplusplus */ #endif /* _LAPACKE_H_ */ + +#endif /* _MKL_LAPACKE_H_ */