Make sure EIGEN_HAS_MM_MALLOC is set to 1 when using the avx512 instruction set.

This commit is contained in:
Benoit Steiner 2015-12-21 11:23:15 -08:00
parent 994d1c60b9
commit 6ffb208c77

View File

@ -75,7 +75,7 @@
#endif
#endif
#if defined EIGEN_VECTORIZE_SSE || defined EIGEN_VECTORIZE_AVX
#if defined EIGEN_VECTORIZE_SSE || defined EIGEN_VECTORIZE_AVX || defined EIGEN_VECTORIZE_AVX512
#define EIGEN_HAS_MM_MALLOC 1
#else
#define EIGEN_HAS_MM_MALLOC 0