Browse Source

commit current vampir config

master
Constantin Fürst 11 months ago
parent
commit
81527fdb6b
  1. 3
      qdp_project/src/Benchmark.cpp
  2. 8
      qdp_project/src/Configuration.hpp

3
qdp_project/src/Benchmark.cpp

@ -157,6 +157,9 @@ void aggr_j(size_t gid, size_t tid) {
if (data_ptr == nullptr) { if (data_ptr == nullptr) {
data_ptr = chunk_ptr; data_ptr = chunk_ptr;
} }
else if (data_ptr == chunk_ptr) {
// prevent counting weak-accesses
}
else { else {
CACHE_HITS_[UniqueIndex(gid,tid)]++; CACHE_HITS_[UniqueIndex(gid,tid)]++;
} }

8
qdp_project/src/Configuration.hpp

@ -1,15 +1,15 @@
#pragma once #pragma once
constexpr size_t WL_SIZE_B = 4_GiB;
constexpr size_t WL_SIZE_B = 1_GiB;
constexpr uint32_t WARMUP_ITERATION_COUNT = 5; 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 uint32_t GROUP_COUNT = 8;
constexpr size_t CHUNK_SIZE_B = 64_MiB; constexpr size_t CHUNK_SIZE_B = 64_MiB;
constexpr uint32_t TC_SCANA = 2;
constexpr uint32_t TC_SCANB = 2;
constexpr uint32_t TC_AGGRJ = 1;
constexpr uint32_t TC_SCANA = 1;
constexpr uint32_t TC_SCANB = 1;
constexpr uint32_t TC_AGGRJ = 2;
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";

Loading…
Cancel
Save