Gilles Vollant via llvm-dev
2021-Jul-24 08:25 UTC
[llvm-dev] Support of parallel STL and <execution> on clang
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>
David Blaikie via llvm-dev
2021-Jul-24 18:04 UTC
[llvm-dev] Support of parallel STL and <execution> on clang
might be more a question for cfe-dev (but leaving llvm-dev here because the implementation likely crosses the boundary into runtime libraries, etc) On Sat, Jul 24, 2021 at 4:25 AM Gilles Vollant via llvm-dev < llvm-dev at lists.llvm.org> wrote:> 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-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 > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210724/c140559f/attachment.html>