diff --git a/lib/simd/Grid_generic_types.h b/lib/simd/Grid_generic_types.h index eac65e09..642f6ffe 100644 --- a/lib/simd/Grid_generic_types.h +++ b/lib/simd/Grid_generic_types.h @@ -26,7 +26,7 @@ Author: Antonin Portelli See the full license in the file "LICENSE" in the top level distribution directory *************************************************************************************/ /* END LEGAL */ -#define GEN_SIMD_WIDTH 16 + static_assert(GEN_SIMD_WIDTH % 16u == 0, "SIMD vector size is not an integer multiple of 16 bytes"); //#define VECTOR_LOOPS