5#include <rexlib/core/operation/type_rule/type_pivot_source.hpp>
7#include <rexlib/core/meta/type_list.hpp>
8#include <rexlib/core/numerical/numerical_type.hpp>
9#include <rexlib/core/platform/constexpr.hpp>
21template <
typename Pivots>
30template <
typename Head,
typename...
Tail>
34 using type =
typename std::conditional<
53template <
typename Rule>
57 typename Rule::pivot_list_type
60 static REXLIB_CONST_CONSTEXPR std::size_t operation_pivot_count =
63 using operation_data_type_array_type =
64 std::array<numerical_type, operation_pivot_count>;
74 template <
typename Parameters>
82#include "type_rule_accessors.inl"
Container for multidimensional numeric data.
Definition array.hpp:31
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
@ operation
Supplied by the operation instance at runtime.
Definition type_rule_accessors.hpp:22
Utility class to prepend a type to the front of a type_list.
Definition type_list.hpp:63
Utility class to obtain the size of a type_list.
Definition type_list.hpp:28
Helper class to pass a heterogeneous sequence of types to a function.
Definition type_list.hpp:20
Read the data types a typing rule depends on from the parameters of an operation instance.
Definition type_rule_accessors.hpp:55
static operation_data_type_array_type get_operation_data_types(const Parameters ¶meters) noexcept
Read every data type the operation supplies.