container_helper.hpp Source File#
tile/core/container/container_helper.hpp
Go to the documentation of this file.
16CK_TILE_HOST_DEVICE constexpr auto container_push_back(const array<TData, NSize>& a, const TData& x)
39container_reorder_given_new2old(const array<TData, NSize>& old_array, sequence<IRs...> /*new2old*/)
107CK_TILE_HOST_DEVICE constexpr auto container_reorder_given_new2old(sequence<Is...> /* old_seq */,
369CK_TILE_HOST_DEVICE constexpr auto container_concat(const array<T, NX>& ax, const array<T, NY>& ay)
376CK_TILE_HOST_DEVICE constexpr auto container_concat(const tuple<X...>& tx, const tuple<Y...>& ty)
404CK_TILE_HOST_DEVICE constexpr auto get_container_subset(const tuple<Ts...>& tup, sequence<Is...>)
Definition tile/core/algorithm/cluster_descriptor.hpp:13
CK_TILE_HOST_DEVICE constexpr auto unpack2(F &&f, X &&x, Y &&y)
Definition tile/core/utility/functional.hpp:209
CK_TILE_HOST_DEVICE constexpr auto container_reverse_exclusive_scan_impl(const tuple< Xs... > &x, Reduce reduce, number< I > i, YOld y_old, ROld r_old)
Definition tile/core/container/container_helper.hpp:311
CK_TILE_HOST_DEVICE constexpr auto container_reorder_given_new2old(const array< TData, NSize > &old_array, sequence< IRs... >)
Definition tile/core/container/container_helper.hpp:39
CK_TILE_HOST_DEVICE constexpr auto container_reduce(const Container &x, Reduce reduce, Init init, number< IBegin >=number< 0 >{}, number< IEnd >=number< Container::size()>{}, number< IStep >=number< 1 >{})
Definition tile/core/container/container_helper.hpp:198
CK_TILE_HOST_DEVICE constexpr auto container_reduce_impl(const Container &x, Reduce reduce, ROld r_old, number< I > i, number< IEnd >, number< IStep >)
Definition tile/core/container/container_helper.hpp:174
CK_TILE_HOST_DEVICE constexpr auto reverse_exclusive_scan_sequence(Seq, Reduce, number< Init >)
Definition tile/core/container/sequence.hpp:863
CK_TILE_HOST_DEVICE constexpr auto container_reorder_given_old2new(const array< TData, NSize > &old_array, sequence< IRs... > old2new)
Definition tile/core/container/container_helper.hpp:48
CK_TILE_HOST_DEVICE constexpr auto container_push_front(const tuple< Ts... > &a, const T &x)
Definition tile/core/container/container_helper.hpp:25
CK_TILE_HOST_DEVICE constexpr auto container_concat(const X &x, const Ys &... ys)
Definition tile/core/container/container_helper.hpp:363
CK_TILE_HOST_DEVICE constexpr auto sequence_to_tuple_of_number(sequence< Is... >)
Definition tile/core/container/container_helper.hpp:459
CK_TILE_HOST_DEVICE constexpr void set_container_subset(array< T, N > &y, sequence< Is... > picks, const array< T, sizeof...(Is)> &x)
Definition tile/core/container/container_helper.hpp:420
CK_TILE_HOST_DEVICE constexpr auto generate_tuple(F &&f, number< N >)
Definition tile/core/container/tuple.hpp:429
CK_TILE_HOST_DEVICE constexpr auto container_reverse_inclusive_scan(const array< TData, NSize > &x, Reduce f, TData init)
Definition tile/core/container/container_helper.hpp:221
CK_TILE_HOST_DEVICE constexpr auto get_container_subset(const array< T, N > &arr, sequence< Is... >)
Definition tile/core/container/container_helper.hpp:389
constexpr index_t container_find(sequence< Is... > seq, index_t value)
Definition tile/core/container/container_helper.hpp:447
CK_TILE_HOST_DEVICE constexpr auto container_push_back(const array< TData, NSize > &a, const TData &x)
Definition tile/core/container/container_helper.hpp:16
CK_TILE_HOST_DEVICE constexpr details::return_type< D, Ts... > make_array(Ts &&... ts)
Definition tile/core/container/array.hpp:242
CK_TILE_HOST_DEVICE constexpr auto container_reverse_exclusive_scan(const array< TData, NSize > &x, Reduce f, Init init)
Definition tile/core/container/container_helper.hpp:240
CK_TILE_HOST_DEVICE constexpr auto make_tuple(Xs &&... xs)
Definition tile/core/container/tuple.hpp:360
Definition reduce2d_kernel.hpp:20
A fixed-size array container similar to std::array with additional utilities.
Definition tile/core/container/array.hpp:43
static constexpr value_type value
Definition tile/core/numeric/integral_constant.hpp:16
Definition tile/core/container/sequence.hpp:670
Definition map.hpp:16
Definition tile/core/container/sequence.hpp:675
Definition tile/core/container/sequence.hpp:49
static CK_TILE_HOST_DEVICE constexpr auto at()
Definition tile/core/container/sequence.hpp:78
static CK_TILE_HOST_DEVICE constexpr index_t size()
Definition tile/core/container/sequence.hpp:53
Definition tile/core/utility/functional.hpp:43
Definition tile/core/container/tuple.hpp:192