mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Extend execution framework with convenience functions
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user