Fix support for MKL's BLAS when using MKL_DIRECT_CALL.

(grafted from b95f92843c
)
This commit is contained in:
Gael Guennebaud
2017-08-17 12:07:10 +02:00
parent 782fd81dee
commit 9df7f3d8e9
9 changed files with 157 additions and 79 deletions

View File

@@ -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