21 #ifndef GRPPI_COMMON_EXECUTION_TRAITS_H 22 #define GRPPI_COMMON_EXECUTION_TRAITS_H 24 #include <type_traits> 37 std::enable_if_t<is_supported<E>(),
int>;
41 std::enable_if_t<!is_supported<E>(),
int>;
Definition: callable_traits.h:26
constexpr bool supports_divide_conquer()
Determines if an execution policy supports the divide-conquer pattern.
Definition: execution_traits.h:76
constexpr bool supports_map_reduce()
Determines if an execution policy supports the map-reduce pattern.
Definition: execution_traits.h:62
std::enable_if_t< is_supported< E >(), int > requires_execution_supported
Definition: execution_traits.h:37
constexpr bool is_supported()
Determines if an execution policy is supported in the current compilation.
Definition: execution_traits.h:33
constexpr bool supports_map()
Determines if an execution policy supports the map pattern.
Definition: execution_traits.h:48
constexpr bool supports_stencil()
Determines if an execution policy supports the stencil pattern.
Definition: execution_traits.h:69
constexpr bool supports_reduce()
Determines if an execution policy supports the reduce pattern.
Definition: execution_traits.h:55
std::enable_if_t<!is_supported< E >(), int > requires_execution_not_supported
Definition: execution_traits.h:41
constexpr bool supports_pipeline()
Determines if an execution policy supports the pipeline pattern.
Definition: execution_traits.h:83