oneapi-src / distributed-ranges

Distributed ranges is a generalization of C++ ranges for distributed data structures.
45 stars 14 forks source link

shp::sort() - merge instead 2nd sort #740

Closed mateuszpn closed 1 month ago

BenBrock commented 2 months ago

Looking at this code again, it seems like we could use a parallel_for instead of a single_task here, as I originally wrote it. Do you want to try switching to parallel_for? It should be embarrassingly parallel.