![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Classes | |
| struct | ApiBase |
| struct | Contains |
| A functor that can check for any of the contained values. More... | |
| struct | Contains< std::integer_sequence< T, T_values... > > |
| struct | Contains< T_Seq< T, T_values... > > |
| struct | CVec |
| struct | TemplateSignatureStorage |
| struct | TemplateSignatureStorage< CVec< T_Type, T_values... > > |
| struct | TupleImpl |
| struct | TupleImpl< std::index_sequence< Is... >, T_Args... > |
| struct | TupleLeaf |
Typedefs | |
| template<bool pred, typename T, T T_v> | |
| using | selectValue = std::conditional_t<pred, std::integer_sequence<T>, std::integer_sequence<T, T_v>> |
Functions | |
| template<typename T_Func, typename T_TupleLike, std::size_t... T_idx> | |
| ALPAKA_FN_INLINE constexpr decltype(auto) | applyImpl (T_Func &&func, T_TupleLike &&tuple, std::index_sequence< T_idx... >) |
| template<typename Int, Int... Is1, Int... Is2> | |
| constexpr auto | combine (std::integer_sequence< Int, Is1... >, std::integer_sequence< Int, Is2... >) |
| template<typename First, typename... Rest> | |
| constexpr auto | concatenate (First first, Rest... rest) |
| template<typename Last> | |
| constexpr auto | concatenate (Last last) |
| template<typename T_UnaryOp, typename T, T... T_values> | |
| constexpr auto | filterValues (T_UnaryOp const op, std::integer_sequence< T, T_values... > _) |
| Return all values of an integer sequence for which a filter returns true. | |
| template<typename T, T... T_values> | |
| constexpr auto | integerSequenceToCVec (std::integer_sequence< T, T_values... >) |
| template<typename T, T... T_values> | |
| constexpr auto | toIntegerSequence (alpaka::CVec< T, T_values... >) |
Variables | |
| template<typename T> | |
| constexpr bool | TemplateSignatureStorage_v = TemplateSignatureStorage<T>::value |
| using alpaka::detail::selectValue = std::conditional_t<pred, std::integer_sequence<T>, std::integer_sequence<T, T_v>> |
|
constexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
Return all values of an integer sequence for which a filter returns true.
| T_UnaryOp | The type of the function or functor to filter with. Must take one argument and return a boolean. |
| T | The type of the given values. |
| T_values | The values to filter. |
| op | The filter function/functor. |
| _ | An integer sequence of values to filter |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
constexpr |