[llvm-dev] Support of parallel STL and <execution> on clang
Gilles Vollant via llvm-dev
llvm-dev at lists.llvm.org
Sat Jul 24 01:25:35 PDT 2021
Hello,
Clang 12 did not contain the <execution> header, for parallel operation.
GCC >=9 contain an executon header, which rely on Intel oneTBB library
Parallel STL and <execution> is on C++17 standard:
https://en.cppreference.com/w/cpp/header/execution
https://stackoverflow.com/questions/51031060/are-c17-parallel-algorithms-imp
lemented-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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210724/0d3063b6/attachment.html>
More information about the llvm-dev
mailing list