mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-02 14:08:05 +01:00
define simd width in header
This commit is contained in:
1 parent
5f8a76d490
commit
d8cea77707
1 file changed
+4
@@ -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