From 0eca180e536f56c58af1f75cf325bfc492daec61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Thu, 25 Jan 2024 15:50:44 +0100 Subject: [PATCH] fix destination indexing in aggrj for happly --- qdp_project/src/Benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdp_project/src/Benchmark.cpp b/qdp_project/src/Benchmark.cpp index c2f9752..cabb8aa 100644 --- a/qdp_project/src/Benchmark.cpp +++ b/qdp_project/src/Benchmark.cpp @@ -154,7 +154,7 @@ void aggr_j(size_t gid, size_t tid) { BARRIERS_[gid]->arrive_and_drop(); - aggregation::happly(&DATA_DST_[gid + tid], aggregator); + aggregation::happly(&DATA_DST_[gid * tid], aggregator); } int main() {