1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Control Eigen vectorisatoin

This commit is contained in:
Peter Boyle 2018-04-12 11:40:56 -04:00
parent b15db11c60
commit 7533035a99

View File

@ -50,7 +50,14 @@ directory
#pragma diag_suppress extra_semicolon
//Eigen only
#define EIGEN_DONT_VECTORIZE
#endif
// Disable vectorisation in Eigen on the Power8/9 and PowerPC
#ifdef __ALTIVEC__
#define EIGEN_DONT_VECTORIZE
#endif
#ifdef __VSX__
#define EIGEN_DONT_VECTORIZE
#endif
#endif