Fast-path for parallel for/reduce/scan when pool has no domains
sadiqj opened this issue · 2 comments
sadiqj commented
In the case where a task pool has no domains in it, we can have a fast path in the parallel_*
functions which uses serial constructs and avoids the overhead of queuing/dequeuing tasks.
ctk21 commented
I think this issue has been addressed for parallel_for
and parallel_for_reduce
.
parallel_scan
could probably still need work.