/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/tuple_helper.hpp Source File#
tuple_helper.hpp
Go to the documentation of this file.
__host__ constexpr __device__ auto depth(const Layout< Shape, UnrolledDescriptorType > &layout)
Get depth of the layout shape (return 0 if scalar).
Definition: layout_utils.hpp:371
__host__ constexpr __device__ auto transform_tuples_impl(F f, const X &x, Sequence< Is... >)
Definition: tuple_helper.hpp:76
Definition: ck.hpp:267
__host__ constexpr __device__ auto TupleReduce(F &&f, const Tuple< Ts... > &tuple)
Definition: tuple_helper.hpp:161
__host__ constexpr __device__ auto IsNestedTuple(const Tuple< Ts... > &)
Definition: tuple_helper.hpp:180
__host__ constexpr __device__ auto unpack2(F &&f, X &&x, Y &&y)
Definition: functional4.hpp:55
__host__ constexpr __device__ auto concat_tuple(const Tuple< X... > &tx, const Tuple< Y... > &ty)
Definition: tuple_helper.hpp:52
typename __make_integer_seq< impl::__integer_sequence, index_t, N >::seq_type make_index_sequence
Definition: sequence.hpp:200
__host__ constexpr __device__ auto generate_tie(F &&f, Number< N >)
Definition: tuple_helper.hpp:34
__host__ constexpr __device__ auto generate_tuple(F &&f, Number< N >)
Definition: tuple_helper.hpp:21
__host__ constexpr __device__ auto TupleReverse(const Tuple< Ts... > &tuple)
Definition: tuple_helper.hpp:149
__host__ constexpr __device__ auto UnrollNestedTuple(const Tuple<> &element)
Definition: tuple_helper.hpp:120
__host__ constexpr __device__ auto transform_tuples(F f, const X &x)
Definition: tuple_helper.hpp:98
__host__ constexpr __device__ auto TupleDepth(const T &)
Definition: tuple_helper.hpp:188
__host__ constexpr __device__ auto generate_tuple_for(F &&f, Sequence< ids... >)
Definition: tuple_helper.hpp:15
__host__ constexpr __device__ auto concat_tuple_of_reference(const Tuple< X &... > &tx, const Tuple< Y &... > &ty)
Definition: tuple_helper.hpp:42
typename detail::detector< nonesuch, void, Op, Args... >::value_t is_detected
Definition: is_detected.hpp:34
__host__ constexpr __device__ auto TupleSlice(const Tuple< Ts... > &tuple)
Definition: tuple_helper.hpp:200
Definition: sequence.hpp:43
Definition: tuple.hpp:186
Definition: tuple.hpp:117
Definition: sequence.hpp:256
typename conditional< kHasContent, type0, type1 >::type type
Definition: sequence.hpp:271
Definition: integral_constant.hpp:20