4 ms·
GCC already has something alike, the parallel mode [1]. It is based on the Multi-Core STL (MCSTL) developed at Karlsruhe University. In [2] you can also find so
by askee 11y ago
GCC already has something alike, the parallel mode [1]. It is based on the Multi-Core STL (MCSTL) developed at Karlsruhe University. In [2] you can also find some publications. As far as I know this already works quite well.
[1] https://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mode.html https://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mod...
[2] http://algo2.iti.kit.edu/singler/mcstl/ http://algo2.iti.kit.edu/singler/mcstl/