sequence< Is > Struct Template Reference

sequence&lt; Is &gt; Struct Template Reference#

Composable Kernel: ck_tile::sequence< Is > Struct Template Reference
ck_tile::sequence< Is > Struct Template Reference

#include <sequence.hpp>

Public Types

using type = sequence
using value_type = index_t

Public Member Functions

template<typename I>
CK_TILE_HOST_DEVICE constexpr auto operator[] (I i) const

Static Public Member Functions

static CK_TILE_HOST_DEVICE constexpr index_t size ()
static CK_TILE_HOST_DEVICE constexpr bool is_static ()
template<index_t I>
static CK_TILE_HOST_DEVICE constexpr auto get ()
template<index_t I>
static CK_TILE_HOST_DEVICE constexpr auto get (number< I >)
static CK_TILE_HOST_DEVICE constexpr index_t at (index_t I)
template<index_t I>
static CK_TILE_HOST_DEVICE constexpr auto at ()
template<index_t I>
static CK_TILE_HOST_DEVICE constexpr auto at (number< I >)
template<index_t... IRs>
static CK_TILE_HOST_DEVICE constexpr auto reorder_new_to_old (sequence< IRs... >)
template<typename MapOld2New>
static CK_TILE_HOST_DEVICE constexpr auto reorder_old_to_new (MapOld2New)
static CK_TILE_HOST_DEVICE constexpr auto reverse ()
static CK_TILE_HOST_DEVICE constexpr auto front ()
static CK_TILE_HOST_DEVICE constexpr auto back ()
static CK_TILE_HOST_DEVICE constexpr auto pop_front ()
static CK_TILE_HOST_DEVICE constexpr auto pop_back ()
template<index_t... Xs>
static CK_TILE_HOST_DEVICE constexpr auto push_front (sequence< Xs... >)
template<index_t... Xs>
static CK_TILE_HOST_DEVICE constexpr auto push_front (number< Xs >...)
template<index_t... Xs>
static CK_TILE_HOST_DEVICE constexpr auto push_back (sequence< Xs... >)
template<index_t... Xs>
static CK_TILE_HOST_DEVICE constexpr auto push_back (number< Xs >...)
template<index_t... Ids>
static CK_TILE_HOST_DEVICE constexpr auto extract (number< Ids >...)
template<index_t... Ids>
static CK_TILE_HOST_DEVICE constexpr auto extract (sequence< Ids... >)
static CK_TILE_HOST_DEVICE constexpr auto sum ()
static CK_TILE_HOST_DEVICE constexpr auto product ()
template<index_t I, index_t X>
static CK_TILE_HOST_DEVICE constexpr auto modify (number< I >, number< X >)
template<typename F>
static CK_TILE_HOST_DEVICE constexpr auto transform (F f)

Member Typedef Documentation

◆ type

template<index_t... Is>
using ck_tile::sequence< Is >::type = sequence

◆ value_type

template<index_t... Is>
using ck_tile::sequence< Is >::value_type = index_t

Member Function Documentation

◆ at() [1/3]

template<index_t... Is>
template<index_t I>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::at ( )
inlinestaticconstexpr

◆ at() [2/3]

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr index_t ck_tile::sequence< Is >::at ( index_t I)
inlinestaticconstexpr

◆ at() [3/3]

template<index_t... Is>
template<index_t I>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::at ( number< I > )
inlinestaticconstexpr

◆ back()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::back ( )
inlinestaticconstexpr

◆ extract() [1/2]

template<index_t... Is>
template<index_t... Ids>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::extract ( number< Ids > ...)
inlinestaticconstexpr

◆ extract() [2/2]

template<index_t... Is>
template<index_t... Ids>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::extract ( sequence< Ids... > )
inlinestaticconstexpr

◆ front()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::front ( )
inlinestaticconstexpr

◆ get() [1/2]

template<index_t... Is>
template<index_t I>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::get ( )
inlinestaticconstexpr

◆ get() [2/2]

template<index_t... Is>
template<index_t I>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::get ( number< I > )
inlinestaticconstexpr

◆ is_static()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr bool ck_tile::sequence< Is >::is_static ( )
inlinestaticconstexpr

◆ modify()

template<index_t... Is>
template<index_t I, index_t X>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::modify ( number< I > ,
number< X >  )
inlinestaticconstexpr

◆ operator[]()

template<index_t... Is>
template<typename I>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::operator[] ( I i) const
inlineconstexpr

◆ pop_back()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::pop_back ( )
inlinestaticconstexpr

◆ pop_front()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::pop_front ( )
inlinestaticconstexpr

◆ product()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::product ( )
inlinestaticconstexpr

◆ push_back() [1/2]

template<index_t... Is>
template<index_t... Xs>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::push_back ( number< Xs > ...)
inlinestaticconstexpr

◆ push_back() [2/2]

template<index_t... Is>
template<index_t... Xs>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::push_back ( sequence< Xs... > )
inlinestaticconstexpr

◆ push_front() [1/2]

template<index_t... Is>
template<index_t... Xs>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::push_front ( number< Xs > ...)
inlinestaticconstexpr

◆ push_front() [2/2]

template<index_t... Is>
template<index_t... Xs>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::push_front ( sequence< Xs... > )
inlinestaticconstexpr

◆ reorder_new_to_old()

template<index_t... Is>
template<index_t... IRs>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::reorder_new_to_old ( sequence< IRs... > )
inlinestaticconstexpr

◆ reorder_old_to_new()

template<index_t... Is>
template<typename MapOld2New>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::reorder_old_to_new ( MapOld2New )
inlinestaticconstexpr

◆ reverse()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::reverse ( )
inlinestaticconstexpr

◆ size()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr index_t ck_tile::sequence< Is >::size ( )
inlinestaticconstexpr

◆ sum()

template<index_t... Is>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::sum ( )
inlinestaticconstexpr

◆ transform()

template<index_t... Is>
template<typename F>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::sequence< Is >::transform ( F f)
inlinestaticconstexpr

The documentation for this struct was generated from the following file: