3 #include "waveguide/cl/filter_structs.h" 8 typedef enum : cl_int {
10 id_inf_error = 1 << 0,
11 id_nan_error = 1 << 1,
12 id_outside_range_error = 1 << 2,
13 id_outside_mesh_error = 1 << 3,
14 id_suspicious_boundary_error = 1 << 4,
20 cl_int boundary_type{};
21 cl_uint boundary_index{};
25 return std::tie(a.boundary_type, a.boundary_index) ==
26 std::tie(b.boundary_type, b.boundary_index);
40 cl_uint coefficient_index{};
44 return std::tie(a.filter_memory, a.coefficient_index) ==
45 std::tie(b.filter_memory, b.coefficient_index);
56 static constexpr
auto DIMENSIONS = D;
63 return std::equal(begin(a.array), end(a.array), begin(b.array));
80 static constexpr
auto value = R
"( 83 id_inf_error = 1 << 0, 84 id_nan_error = 1 << 1, 85 id_outside_range_error = 1 << 2, 86 id_outside_mesh_error = 1 << 3, 87 id_suspicious_boundary_error = 1 << 4, 94 static constexpr
auto value = R
"( 104 static constexpr
auto value = R
"( 106 memory_canonical filter_memory; 107 uint coefficient_index; 114 static constexpr
auto value = R
"( 115 typedef struct { boundary_data array[1]; } boundary_data_array_1; 121 static constexpr
auto value = R
"( 122 typedef struct { boundary_data array[2]; } boundary_data_array_2; 128 static constexpr
auto value = R
"( 129 typedef struct { boundary_data array[3]; } boundary_data_array_3; Definition: representation.h:7
Definition: capsule_base.h:9