|
| struct | Contains |
| struct | Contains< List< Head, Tail... >, Value > |
| struct | IntegerSequenceValuesInRange |
| | Checks if the values in the index sequence are within the given range. More...
|
| struct | IntegerSequenceValuesInRange< std::integer_sequence< T, Tvals... >, T, Tmin, Tmax > |
| | Checks if the values in the index sequence are within the given range. More...
|
| struct | IntegerSequenceValuesUnique |
| | Checks if the values in the index sequence are unique. More...
|
| struct | IntegerSequenceValuesUnique< std::integer_sequence< T, Tvals... > > |
| | Checks if the values in the index sequence are unique. More...
|
| struct | IntegralValuesInRange |
| | Checks if the integral values are within the given range. More...
|
| struct | IntegralValuesInRange< T, Tmin, Tmax > |
| | Checks if the integral values are within the given range. More...
|
| struct | IntegralValuesInRange< T, Tmin, Tmax, I, Tvals... > |
| | Checks if the integral values are within the given range. More...
|
| struct | IntegralValuesUnique |
| | Checks if the integral values are unique. More...
|
| struct | IsList |
| struct | IsList< TList< TTypes... > > |
| struct | ToList |
| | Takes an arbitrary number of types (T) and creates a type list of type TListType with the types (T). If T is a single template parameter and it satisfies alpaka::meta::isList, the type of the structure is T (no type change). For example std::tuple can be used as TListType. More...
|
| struct | ToList< TListType, T > |
| struct | ToList< TListType, T, Ts... > |
|
| constexpr auto | filter (auto const unaryConditionFn, auto const list) |
| template<typename TExtentVec, typename TFnObj, std::size_t... Tdims> |
| auto | ndLoop (std::index_sequence< Tdims... > indexSequence, TExtentVec &idx, TExtentVec const &extent, TFnObj const &f) -> void |
| | Loops over an n-dimensional iteration index variable calling f(idx, args...) for each iteration. The loops are nested in the order given by the index_sequence with the first element being the outermost and the last index the innermost loop.
|
| template<typename TExtentVec, typename TFnObj> |
| auto | ndLoopIncIdx (TExtentVec &idx, TExtentVec const &extent, TFnObj const &f) -> void |
| | Loops over an n-dimensional iteration index variable calling f(idx, args...) for each iteration. The loops are nested from index zero outmost to index (dim-1) innermost.
|
| template<typename TExtentVec, typename TFnObj> |
| auto | ndLoopIncIdx (TExtentVec const &extent, TFnObj const &f) -> void |
template<typename TExtentVec, typename TFnObj, std::size_t... Tdims>
| auto alpaka::meta::ndLoop |
( |
std::index_sequence< Tdims... > | indexSequence, |
|
|
TExtentVec & | idx, |
|
|
TExtentVec const & | extent, |
|
|
TFnObj const & | f ) -> void |
Loops over an n-dimensional iteration index variable calling f(idx, args...) for each iteration. The loops are nested in the order given by the index_sequence with the first element being the outermost and the last index the innermost loop.
- Parameters
-
| indexSequence | A sequence of indices being a permutation of the values [0, dim-1]. |
| extent | N-dimensional loop extent. |
| f | The function called at each iteration. |
Definition at line 51 of file NdLoop.hpp.
template<typename TExtentVec, typename TFnObj>
| auto alpaka::meta::ndLoopIncIdx |
( |
TExtentVec & | idx, |
|
|
TExtentVec const & | extent, |
|
|
TFnObj const & | f ) -> void |
Loops over an n-dimensional iteration index variable calling f(idx, args...) for each iteration. The loops are nested from index zero outmost to index (dim-1) innermost.
- Parameters
-
| extent | N-dimensional loop extent. |
| f | The function called at each iteration. |
Definition at line 73 of file NdLoop.hpp.