21 #ifndef GRPPI_SEQ_SEQUENTIAL_EXECUTION_H 22 #define GRPPI_SEQ_SEQUENTIAL_EXECUTION_H 24 #include <type_traits> 72 return std::is_same<E, sequential_execution>::value;
Definition: callable_traits.h:24
sequential_execution()
Default constructor.
Definition: sequential_execution.h:36
constexpr bool is_supported()
Metafunction that determines if type E is supported in the current build.
constexpr bool is_sequential_execution()
Determine if a type is a sequential execution policy.
Definition: sequential_execution.h:71
constexpr bool is_supported< sequential_execution >()
Definition: sequential_execution.h:79
void set_concurrency_degree(int n) const noexcept
Set number of grppi threads.
Definition: sequential_execution.h:42
void disable_ordering() const noexcept
Disable ordering.
Definition: sequential_execution.h:60
Sequential execution policy.
Definition: sequential_execution.h:31
int concurrency_degree() const noexcept
Get number of grppi trheads.
Definition: sequential_execution.h:48
bool is_ordered() const noexcept
Is execution ordered.
Definition: sequential_execution.h:66
void enable_ordering() const noexcept
Enable ordering.
Definition: sequential_execution.h:54