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:
parent
5f8a76d490
commit
d8cea77707
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user