Home
last modified time | relevance | path

Searched refs:__libdispatch (Results 1 – 3 of 3) sorted by relevance

/llvm-project/libcxx/include/__pstl/backends/
H A Dlibdispatch.h52 namespace __libdispatch {
61 __libdispatch::__dispatch_apply(__chunk_count, &__func, [](void* __context, size_t __chunk) { in __dispatch_apply()
78 __libdispatch::__dispatch_apply(__partitions.__chunk_count_, [&](size_t __chunk) { in __dispatch_parallel_for()
89 } // namespace __libdispatch
96 return __libdispatch::__dispatch_parallel_for(
97 __libdispatch::__partition_chunks(__last - __first), std::move(__first), std::move(__func));
123 __libdispatch::__chunk_partitions __partitions =
124 __libdispatch::__partition_chunks(std::max<ptrdiff_t>(__last1 - __first1, __last2 - __first2));
195 __libdispatch::__dispatch_apply(__partitions.__chunk_count_, [&](size_t __index) {
221 auto __partitions = __libdispatch
[all...]
/llvm-project/libcxx/test/libcxx/algorithms/
H A Dpstl.libdispatch.chunk_partitions.pass.cpp21 auto chunks = std::__pstl::__libdispatch::__partition_chunks(0); in main()
28 auto chunks = std::__pstl::__libdispatch::__partition_chunks(1); in main()
35 auto chunks = std::__pstl::__libdispatch::__partition_chunks(i); in main()
/llvm-project/libcxx/src/pstl/
H A Dlibdispatch.cpp15 namespace __pstl::__libdispatch { namespace