|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Classes | |
| struct | chunk_bounds |
|
inlinenoexcept |
Definition at line 149 of file ah-parallel.H.
References chunk_size(), and offset.
|
inlinenoexcept |
Definition at line 144 of file ah-parallel.H.
References chunk_size().
|
inline |
Calculate optimal chunk size based on data size and thread count.
Definition at line 157 of file ah-parallel.H.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::size().
Referenced by bounds_for_chunk(), chunk_count(), effective_parallel_chunk_size(), and resolve_chunk_size().
Get reference from pointer or unique_ptr.
Definition at line 188 of file ah-parallel.H.
|
inline |
Definition at line 196 of file ah-parallel.H.
References chunk_size(), Aleph::divide_and_conquer_partition_dp(), Aleph::ThreadPool::num_threads(), and options.
For containers with random access, just return a pointer to it For non-random access, copy to vector.
Definition at line 178 of file ah-parallel.H.
References Aleph::divide_and_conquer_partition_dp().
Check if container supports random access.
Definition at line 168 of file ah-parallel.H.
| void Aleph::parallel_detail::merge_sequential | ( | InputIt1 | first1, |
| InputIt1 | last1, | ||
| InputIt2 | first2, | ||
| InputIt2 | last2, | ||
| OutputIt | d_first, | ||
| Compare | comp, | ||
| const CancellationToken & | token | ||
| ) |
Definition at line 1449 of file thread_pool.H.
References Aleph::and, Aleph::divide_and_conquer_partition_dp(), and throw_if_canceled().
|
inline |
Definition at line 1401 of file thread_pool.H.
References chunk_size(), Aleph::divide_and_conquer_partition_dp(), and options.
|
inline |
Definition at line 1396 of file thread_pool.H.
References Aleph::default_pool(), and options.
|
inline |
Definition at line 139 of file ah-parallel.H.
References Aleph::default_pool(), and options.
|
inline |
Definition at line 1443 of file thread_pool.H.
References Aleph::CancellationToken::throw_if_cancellation_requested().
Referenced by merge_sequential().
|
inline |
Definition at line 227 of file ah-parallel.H.
References Aleph::CancellationToken::throw_if_cancellation_requested().
|
inlinenoexcept |
Definition at line 212 of file ah-parallel.H.
References Aleph::and, and options.
|
inlinenoexcept |
Definition at line 1424 of file thread_pool.H.
References Aleph::and, Aleph::divide_and_conquer_partition_dp(), and options.