#include <cassert>
#include <cstddef>
#include <future>
#include <type_traits>
#include <vector>
#include "thread_count.h"
Go to the source code of this file.
|
template<typename Fn , typename... Args, typename Result = std::result_of_t<Fn && (Args && ...)>> |
future< Result > | threading_std::async (Fn &&fn, Args &&...args) |
|
template<typename Int , typename Body , typename Partitioner = auto_partitioner> |
void | threading_std::parallel_for (const blocked_range< Int > &range, const Body &body, const Partitioner &p=Partitioner()) |
| Parallel iteration over range with default partitioner. More...
|
|
template<typename Index , typename Function , typename Partitioner = auto_partitioner> |
void | threading_std::parallel_for (Index first, Index last, const Function &f, const Partitioner &p=Partitioner()) |
|
template<typename Int , typename Value , typename RealBody , typename Reduction , typename Partitioner = auto_partitioner> |
Value | threading_std::parallel_reduce (const blocked_range< Int > &range, const Value &identity, const RealBody &real_body, const Reduction &reduction, const Partitioner &p=Partitioner()) |
| Parallel iteration with reduction. More...
|
|
#define THREADING_STD_LAUNCH async |