Hello,
Clang 12 did not contain the header, for parallel operation.
GCC >=9 contain an executon header, which rely on Intel oneTBB library
Parallel STL and is on C++17 standard:
https://en.cppreference.com/w/cpp/header/execution
https://stackoverflow.com/questions/51031060/are-c17-parallel-algorithms-implemented-already
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0024r2.html
On the gcc mailing list, Intel developer Alexey Kukanov say it proposed to LLVM also
https://gcc.gnu.org/legacy-ml/libstdc++/2017-11/msg00113.html
I have two questions:
- Do you consider support parallel STL on future clang (with Intel OneTBB, like GCC, or without, like Visual Studio 2019)
- What about import manually intel onetbb library and use it with libc++ std::sort or std::for_each (by example)
Regards
Gilles Vollant