Extend execution framework with convenience functions

This commit is contained in:
tamasmeszaros committed 2021-04-07 12:51:02 +02:00
1 parent 46fd722f3c
commit 4eb13a407f
2 files changed
+38 -6

No files matched your search

+1 -1
View File
@@ -248,7 +248,7 @@ TEST_CASE("Test concurrency")
double ref = std::accumulate(vals.begin(), vals.end(), 0.);
double s = sla::ccr_par::reduce(vals.begin(), vals.end(), 0., std::plus<double>{});
double s = execution::accumulate(ex_tbb, vals.begin(), vals.end(), 0.);
REQUIRE(s == Approx(ref));
}