From ef805244ac45f96e91c54a16caeef0a1e63584ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Tue, 30 Jan 2024 14:45:51 +0100 Subject: [PATCH] use 4gib as size and again 1 aggrj thread for qdp bench --- qdp_project/src/Benchmark.cpp | 6 +++--- qdp_project/src/Configuration.hpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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";