Browse Source

fix benchmark by waiting and not dropping barrier in aggrj

master
Constantin Fürst 11 months ago
parent
commit
79a7e9637c
  1. 2
      qdp_project/src/Benchmark.cpp

2
qdp_project/src/Benchmark.cpp

@ -126,7 +126,7 @@ void aggr_j(size_t gid, size_t tid) {
THREAD_TIMING_[AGGRJ_TIMING_INDEX][UniqueIndex(gid,tid)][0][TIME_STAMP_BEGIN] = std::chrono::steady_clock::now();
BARRIERS_[gid]->arrive_and_drop();
BARRIERS_[gid]->arrive_and_wait();
THREAD_TIMING_[AGGRJ_TIMING_INDEX][UniqueIndex(gid,tid)][0][TIME_STAMP_WAIT] = std::chrono::steady_clock::now();

Loading…
Cancel
Save