mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
Patch from Konstantin Arturov to enable MKL's direct call by default
This commit is contained in:
parent
4c03b3511e
commit
5fa79f96b8
@ -55,6 +55,10 @@
|
|||||||
|
|
||||||
|
|
||||||
#if defined EIGEN_USE_MKL
|
#if defined EIGEN_USE_MKL
|
||||||
|
# ifndef MKL_DIRECT_CALL
|
||||||
|
# define MKL_DIRECT_CALL
|
||||||
|
# define MKL_DIRECT_CALL_JUST_SET
|
||||||
|
# endif
|
||||||
# include <mkl.h>
|
# include <mkl.h>
|
||||||
/*Check IMKL version for compatibility: < 10.3 is not usable with Eigen*/
|
/*Check IMKL version for compatibility: < 10.3 is not usable with Eigen*/
|
||||||
# ifndef INTEL_MKL_VERSION
|
# ifndef INTEL_MKL_VERSION
|
||||||
@ -69,6 +73,9 @@
|
|||||||
# undef EIGEN_USE_MKL_VML
|
# undef EIGEN_USE_MKL_VML
|
||||||
# undef EIGEN_USE_LAPACKE_STRICT
|
# undef EIGEN_USE_LAPACKE_STRICT
|
||||||
# undef EIGEN_USE_LAPACKE
|
# undef EIGEN_USE_LAPACKE
|
||||||
|
# ifdef MKL_DIRECT_CALL_JUST_SET
|
||||||
|
# undef MKL_DIRECT_CALL
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user