|
@ -5,11 +5,11 @@ constexpr uint32_t WARMUP_ITERATION_COUNT = 5; |
|
|
constexpr uint32_t ITERATION_COUNT = 5; |
|
|
constexpr uint32_t ITERATION_COUNT = 5; |
|
|
|
|
|
|
|
|
#ifdef MODE_SIMPLE_PREFETCH
|
|
|
#ifdef MODE_SIMPLE_PREFETCH
|
|
|
constexpr uint32_t GROUP_COUNT = 8; |
|
|
|
|
|
constexpr size_t CHUNK_SIZE_B = 8_MiB; |
|
|
|
|
|
constexpr uint32_t TC_SCANA = 4; |
|
|
|
|
|
|
|
|
constexpr uint32_t GROUP_COUNT = 16; |
|
|
|
|
|
constexpr size_t CHUNK_SIZE_B = 64_MiB; |
|
|
|
|
|
constexpr uint32_t TC_SCANA = 2; |
|
|
constexpr uint32_t TC_SCANB = 1; |
|
|
constexpr uint32_t TC_SCANB = 1; |
|
|
constexpr uint32_t TC_AGGRJ = 4; |
|
|
|
|
|
|
|
|
constexpr uint32_t TC_AGGRJ = 1; |
|
|
constexpr bool PERFORM_CACHING = true; |
|
|
constexpr bool PERFORM_CACHING = true; |
|
|
constexpr bool STORE_B_IN_HBM = false; |
|
|
constexpr bool STORE_B_IN_HBM = false; |
|
|
constexpr char MODE_STRING[] = "simple-prefetch"; |
|
|
constexpr char MODE_STRING[] = "simple-prefetch"; |
|
@ -83,4 +83,4 @@ static_assert(TC_AGGRJ % (TC_SCANB > 0 ? TC_SCANB : TC_AGGRJ) == 0); |
|
|
static_assert(TC_AGGRJ >= TC_SCANB); |
|
|
static_assert(TC_AGGRJ >= TC_SCANB); |
|
|
static_assert(RUN_COUNT > 0); |
|
|
static_assert(RUN_COUNT > 0); |
|
|
static_assert(WL_SIZE_B % 16 == 0); |
|
|
static_assert(WL_SIZE_B % 16 == 0); |
|
|
static_assert(CHUNK_SIZE_B % 16 == 0); |
|
|
|
|
|
|
|
|
static_assert(CHUNK_SIZE_B % 16 == 0); |