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 >
constexpr CK_TILE_HOST_DEVICE auto operator[] (I i) const
 

Static Public Member Functions

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

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>
static constexpr CK_TILE_HOST_DEVICE auto ck_tile::sequence< Is >::at ( )
inlinestaticconstexpr

◆ at() [2/3]

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

◆ at() [3/3]

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

◆ back()

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

◆ extract() [1/2]

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

◆ extract() [2/2]

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

◆ front()

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

◆ get() [1/2]

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

◆ get() [2/2]

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

◆ is_static()

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

◆ modify()

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

◆ operator[]()

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

◆ pop_back()

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

◆ pop_front()

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

◆ print()

template<index_t... Is>
static CK_TILE_HOST_DEVICE void ck_tile::sequence< Is >::print ( )
inlinestatic

◆ push_back() [1/2]

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

◆ push_back() [2/2]

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

◆ push_front() [1/2]

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

◆ push_front() [2/2]

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

◆ reorder_new_to_old()

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

◆ reorder_old_to_new()

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

◆ reverse()

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

◆ size()

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

◆ transform()

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

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck_tile/core/container/sequence.hpp