[libcxx-commits] [PATCH] D141779: [libc++][PSTL] Copy the headers into libc++
Ruslan Arutyunyan via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 22 11:50:59 PDT 2023
rarutyun added a subscriber: rodgert.
rarutyun added a comment.
> If there is no parallel backend available, the serial backend should be used instead of not providing anything. I also don't really see a use-case for disabling specific policies.
As far as I remember the it was done in libstdc++ when serial backend was not available but the idea also was to remove third-party dependencies (@rodgert could correct me if I am wrong) libstdc++ 9 just includes TBB headers by default if `#include <execution>" appears in the code: https://godbolt.org/z/MGaccsq9a
If there is any need to disable parallel policies today - I am not sure. If a good comes in my head at some point I'll let you know.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141779/new/
https://reviews.llvm.org/D141779
More information about the libcxx-commits
mailing list