[all-commits] [llvm/llvm-project] 0e2de6: [libc++][PSTL] Parallelize random_access_iterator
gonzalobg via All-commits
all-commits at lists.llvm.org
Mon Aug 7 08:58:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e2de665f34f59ef26a976c70fcafeb8303d79fc
https://github.com/llvm/llvm-project/commit/0e2de665f34f59ef26a976c70fcafeb8303d79fc
Author: Gonzalo Brito Gadeschi <gonzalob at nvidia.com>
Date: 2023-08-07 (Mon, 07 Aug 2023)
Changed paths:
M libcxx/include/__algorithm/pstl_any_all_none_of.h
M libcxx/include/__algorithm/pstl_backends/cpu_backends/any_of.h
M libcxx/include/__algorithm/pstl_backends/cpu_backends/fill.h
M libcxx/include/__algorithm/pstl_backends/cpu_backends/find_if.h
M libcxx/include/__algorithm/pstl_backends/cpu_backends/for_each.h
M libcxx/include/__algorithm/pstl_backends/cpu_backends/merge.h
M libcxx/include/__algorithm/pstl_backends/cpu_backends/transform.h
M libcxx/include/__algorithm/pstl_backends/cpu_backends/transform_reduce.h
M libcxx/include/__algorithm/pstl_copy.h
M libcxx/include/__algorithm/pstl_fill.h
M libcxx/include/__algorithm/pstl_find.h
M libcxx/include/__algorithm/pstl_for_each.h
M libcxx/include/__algorithm/pstl_generate.h
M libcxx/include/__algorithm/pstl_transform.h
M libcxx/include/__iterator/concepts.h
Log Message:
-----------
[libc++][PSTL] Parallelize random_access_iterator
P2408 requires this for C++23, but implementing it in C++20 is safe
because the only code impacted would be code that violated a
precondition of the parallel algorithm. It was P2408 intent to
enable implementations to backport this to C++20.
Closes #63447 .
Reviewed By: philnik, #libc
Differential Revision: https://reviews.llvm.org/D154305
More information about the All-commits
mailing list