diff --git a/qdp_project/src/Benchmark.cpp b/qdp_project/src/Benchmark.cpp index 32cda5f..98d05b7 100644 --- a/qdp_project/src/Benchmark.cpp +++ b/qdp_project/src/Benchmark.cpp @@ -157,9 +157,9 @@ void aggr_j(size_t gid, size_t tid) { if (data_ptr == nullptr) { data_ptr = chunk_ptr; } - else if (data_ptr == chunk_ptr) { - // prevent counting weak-accesses - } + else if (data_ptr == chunk_ptr) { + // prevent counting weak-accesses + } else { CACHE_HITS_[UniqueIndex(gid,tid)]++; } diff --git a/qdp_project/src/Configuration.hpp b/qdp_project/src/Configuration.hpp index 141c691..990fccf 100644 --- a/qdp_project/src/Configuration.hpp +++ b/qdp_project/src/Configuration.hpp @@ -1,6 +1,6 @@ #pragma once -constexpr size_t WL_SIZE_B = 1_GiB; +constexpr size_t WL_SIZE_B = 4_GiB; constexpr uint32_t WARMUP_ITERATION_COUNT = 5; constexpr uint32_t ITERATION_COUNT = 5; @@ -9,7 +9,7 @@ constexpr uint32_t GROUP_COUNT = 8; constexpr size_t CHUNK_SIZE_B = 64_MiB; constexpr uint32_t TC_SCANA = 1; constexpr uint32_t TC_SCANB = 1; -constexpr uint32_t TC_AGGRJ = 2; +constexpr uint32_t TC_AGGRJ = 1; constexpr bool PERFORM_CACHING = true; constexpr bool STORE_B_IN_HBM = false; constexpr char MODE_STRING[] = "simple-prefetch";