mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-10 03:17:07 +01:00
define simd width in header
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user