diff options
author | eschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a> | 2013-01-16 20:17:39 +0000 |
---|---|---|
committer | eschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a> | 2013-01-16 20:17:39 +0000 |
commit | f4e59032c42c1df52717d2663760072cd0510f30 (patch) | |
tree | e6d3021b3fb440b20087655844f013bee9b3b522 /src/vectors-4-default.h | |
parent | 33e3cc3261b81b28f83a6e4d41d1ae97944dfa49 (diff) |
Major update
Disable AVX emulation
Set default for streaming stores to "no"
Correct QPX vectorisation (IBM Blue Gene/Q)
Add MIC vectorisation (Intel Xeon Phi)
Convert SSE and AVX vectorisation to using inline functions instead of
macros for code clarity
Define CCTK_BOOLEAN, CCTK_INTEGER and CCTK_BOOLEAN_VEC,
CCTK_INTEGER_VEC to make boolean and integer vectors explicit
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@77 105869f7-3296-0410-a4ea-f4349344b45a
Diffstat (limited to 'src/vectors-4-default.h')
-rw-r--r-- | src/vectors-4-default.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vectors-4-default.h b/src/vectors-4-default.h index 0cd49ac..28fae04 100644 --- a/src/vectors-4-default.h +++ b/src/vectors-4-default.h @@ -19,6 +19,9 @@ // Number of vector elements in a vector #define CCTK_REAL4_VEC_SIZE 1 +vec_static_assert(sizeof(CCTK_REAL4_VEC) == + sizeof(CCTK_REAL4) * CCTK_REAL4_VEC_SIZE); + // Integer and boolean types corresponding to this real type #define CCTK_INTEGER4 CCTK_REAL4 #define CCTK_BOOLEAN4 CCTK_REAL4 |