mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
Define EIGEN_VECTORIZE_AVX2 and EIGEN_VECTORIZE_FMA when the corresponding instructions can be used by the compiler
This commit is contained in:
parent
ce65c2922a
commit
6d6e6d0b88
@ -131,6 +131,12 @@
|
|||||||
#define EIGEN_VECTORIZE_SSE4_1
|
#define EIGEN_VECTORIZE_SSE4_1
|
||||||
#define EIGEN_VECTORIZE_SSE4_2
|
#define EIGEN_VECTORIZE_SSE4_2
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __AVX2__
|
||||||
|
#define EIGEN_VECTORIZE_AVX2
|
||||||
|
#endif
|
||||||
|
#ifdef __FMA__
|
||||||
|
#define EIGEN_VECTORIZE_FMA
|
||||||
|
#endif
|
||||||
|
|
||||||
// include files
|
// include files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user