nerator' content='cgit v1.1'/>
aboutsummaryrefslogtreecommitdiff
path: root/pstl/test/support
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28[libc++][pstl] Implement tag dispatching mechanism for Parallel STLRuslan Arutyunyan1-1/+5
Implement the mechanism that simplifies the execution policy/iterator category dispatching and allows to implement customizations for the parallel algorithms with adding custom tags Reviewed By: rodgert, MikeDvorskiy Differential Revision: https://reviews.llvm.org/D104492
2021-05-26[pstl] Fix -Wundef errors in the test suiteLouis Dionne1-4/+4
2020-05-18[pstl] A fix for move placement-new (and destroy) allocated objects from raw ↵Dvorskiy, Mikhail1-0/+76
memory. https://reviews.llvm.org/D74123 The fix affects follow algorithms: remove_if, unique, rotate, inplace_merge, partial_sort_copy, set_union, set_intersection, set_difference, set_symmetric_difference. For "is_trivial" types there are no problems with "creating objects/clean-up" For non-trivial types the algo results are also correct, but possible incorrect copying/moving "operator=" calls "by raw memory" within one of mentioned algo or incorrect destructor calls in the end of algo.
2019-07-18[NFC][pstl] Run clang-format on the sources, including the testsLouis Dionne1-32/+33
llvm-svn: 366492
2019-06-18[pstl] Disable workarounds for broken ICC versions when using ClangLouis Dionne1-0/+2
llvm-svn: 363726
2019-05-30[pstl] Remove various warnings in the pstl headers and testsLouis Dionne1-7/+7
- unused parameter warnings - don't use single-letter template parameter names, like we do in libc++ - sign-comparison warnings - unused variables in the tests - unused local typedefs in the tests - the use of #include_next - field reordering in the tests - unused lambda captures Note that the rationale for why the static_casts to unsigned are OK is that last - first must always be non-negative, since [first, last) is a valid range. llvm-svn: 362148
2019-04-24[pstl] Make the default backend be the serial backend and always provide ↵Louis Dionne2-10/+1
parallel policies Summary: Before this change, the default backend was TBB but one could disable anything related to TBB by removing the parallel policies. This change uses the serial backend by default and removes the ability to disable parallel policies, which is not useful anymore. Reviewers: rodgert, MikeDvorskiy Subscribers: mgorny, jkorous, dexonsmith, jdoerfert, libcxx-commits Differential Revision: https://reviews.llvm.org/D59792 llvm-svn: 359134
2019-04-16[pstl] Remove the stdlib headers from the PSTL and move them to the testsLouis Dionne4-0/+128
Summary: PSTL should not provide those headers since they belong to the standard library. Instead, we define a dummy standard library in the tests that provides those headers. Reviewers: rodgert, MikeDvorskiy Subscribers: mgorny, jkorous, dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D60535 llvm-svn: 358497
2019-04-10[pstl] Move to single underscore-capital for macros and include guardsLouis Dionne2-28/+28
Summary: Per the LLVM convention. Reviewers: rodgert Subscribers: jkorous, dexonsmith, jdoerfert, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D60521 llvm-svn: 358131
2019-03-28[pstl] Uglify internal names of the libraryLouis Dionne1-1/+1
llvm-svn: 357203
2019-03-27Restructure test suite to follow libc++ standard layoutLouis Dionne2-0/+1296
Summary: Subsumes changes requested in https://reviews.llvm.org/D59110 Reviewers: EricWF, ldionne Subscribers: mgorny, krytarowski, jfb, jdoerfert, libcxx-commits Differential Revision: https://reviews.llvm.org/D59856 llvm-svn: 357124