[libcxx-commits] [PATCH] D150284: [libc++][PSTL] Add a simple std::thread backend
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 19 13:47:43 PDT 2023
ldionne added a comment.
After discussing with @EricWF, we agreed that the actually relevant part of this patch is not the implementation of the threading backend, but rather the plumbing around it (e.g the CMake configuration, the `#ifdef`s in `pstl_backend.h`, the `__config_site` bits, etc.). As such, I think we should rip out the `.cpp` file and only implement `__parallel_for` and `__cancel_execution` in a serial way here (with a comment saying it's temporary). Then, once we have the full CPU backend API checked in (e.g. `__parallel_transform_reduce` and friends), we can go back and create a reasonable `std::thread` backend implementation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150284/new/
https://reviews.llvm.org/D150284
More information about the libcxx-commits
mailing list