use MKL's lapacke.h header when using MKL

(grafted from f727844658
)
This commit is contained in:
Gael Guennebaud
2017-08-17 21:58:39 +02:00
parent 3108fbf767
commit 070b5958e0
5 changed files with 20 additions and 0 deletions

View File

@@ -37,7 +37,11 @@
#include "src/SVD/JacobiSVD.h"
#include "src/SVD/BDCSVD.h"
#if defined(EIGEN_USE_LAPACKE) && !defined(EIGEN_USE_LAPACKE_STRICT)
#ifdef EIGEN_USE_MKL
#include "mkl_lapacke.h"
#else
#include "src/misc/lapacke.h"
#endif
#include "src/SVD/JacobiSVD_LAPACKE.h"
#endif