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

define simd width in header

This commit is contained in:
nmeyer-ur 2020-04-03 19:22:25 +02:00
parent 5f8a76d490
commit d8cea77707

View File

@ -30,6 +30,10 @@
// Using SVE ACLE
/////////////////////////////////////////////////////
#ifndef GEN_SIMD_WIDTH
#define GEN_SIMD_WIDTH 64u
#endif
static_assert(GEN_SIMD_WIDTH % 64u == 0, "A64FX SIMD vector size is 64 bytes");
#ifdef __ARM_FEATURE_SVE