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() {