|
template<typename F , typename T1 , typename T2 , typename T = typename std::common_type<T1, T2>::type, typename R = typename std::result_of<typename std::decay<F>::type(T, T)>::type> |
MultiFuture< R > | parallel_block (T1 begin, T2 end, F &&body, std::shared_ptr< ThreadPool > thread_pool=nullptr, size_t num_blocks=0, bool auto_wait=true) |
| Parallel block over a range of elements, breaking the range into blocks for which the body function is executed individually. More...
|
|
template<typename F , typename T1 , typename T2 , typename T = typename std::common_type<T1, T2>::type> |
MultiFuture< void > | parallel_for (T1 begin, T2 end, F &&body, std::shared_ptr< ThreadPool > thread_pool=nullptr, size_t num_blocks=0, bool auto_wait=true) |
| Parallel for over a range of positions, breaking the range into blocks for which the body function is executed individually. More...
|
|
template<typename F , typename T > |
MultiFuture< void > | parallel_for_each (T &container, F &&body, std::shared_ptr< ThreadPool > thread_pool=nullptr, size_t num_blocks=0, bool auto_wait=true) |
| Parallel for each over a container, processing it in blocks for which the body function is executed individually. More...
|
|
template<typename F , typename T > |
MultiFuture< void > | parallel_for_each (T const begin, T const end, F &&body, std::shared_ptr< ThreadPool > thread_pool=nullptr, size_t num_blocks=0, bool auto_wait=true) |
| Parallel for each over a container, processing it in blocks for which the body function is executed individually. More...
|
|