mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-25 15:13:19 +00:00
Control Eigen vectorisatoin
This commit is contained in:
1 parent
b15db11c60
commit
7533035a99
1 file changed
+8
-1
@@ -50,7 +50,14 @@ directory
|
|||||||
#pragma diag_suppress extra_semicolon
|
#pragma diag_suppress extra_semicolon
|
||||||
|
|
||||||
//Eigen only
|
//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
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user