1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01: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 // 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"); static_assert(GEN_SIMD_WIDTH % 64u == 0, "A64FX SIMD vector size is 64 bytes");
#ifdef __ARM_FEATURE_SVE #ifdef __ARM_FEATURE_SVE