diff --git a/tests/SimpleLawsTest.cpp b/tests/SimpleLawsTest.cpp index f86b4a7a44663f413b26243b400df2eb0265f701..b328eaa3db423dbf77bb45794184000751c11a7a 100644 --- a/tests/SimpleLawsTest.cpp +++ b/tests/SimpleLawsTest.cpp @@ -7,8 +7,8 @@ static const unsigned int ROUND_COUNT = 10; static const unsigned int FIBER_LOOPS = 10; - static const unsigned int PAYLOAD_COUNT = 4096; + typedef struct ALIGN_TO_CACHE_LINE { // 4096 * 8 byte (64 bit) = 32 KiB = L1 cache size of most systems uint64_t payload[PAYLOAD_COUNT];