array< T_, N_ > Struct Template Reference#
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
ck_tile::array< T_, N_ > Struct Template Reference
#include <array.hpp>
Public Types | |
using | value_type = T_ |
Public Member Functions | |
constexpr CK_TILE_HOST_DEVICE | array () |
constexpr CK_TILE_HOST_DEVICE | array (std::initializer_list< value_type > ilist) |
template<typename Y , typename = std::enable_if_t<std::is_convertible_v<Y, value_type> || std::is_constructible_v<Y, value_type>>> | |
constexpr CK_TILE_HOST_DEVICE | array (Y c) |
constexpr CK_TILE_HOST_DEVICE auto & | get () |
constexpr CK_TILE_HOST_DEVICE const auto & | get () const |
constexpr CK_TILE_HOST_DEVICE auto & | get (index_t i) |
constexpr CK_TILE_HOST_DEVICE const auto & | get (index_t i) const |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE auto & | get () |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE const auto & | get () const |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE auto & | get (number< I >) |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE const auto & | get (number< I >) const |
constexpr CK_TILE_HOST_DEVICE auto & | at (index_t i) |
constexpr CK_TILE_HOST_DEVICE const auto & | at (index_t i) const |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE auto & | at () |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE const auto & | at () const |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE auto & | at (number< I >) |
template<index_t I> | |
constexpr CK_TILE_HOST_DEVICE const auto & | at (number< I >) const |
constexpr CK_TILE_HOST_DEVICE const value_type & | operator[] (index_t i) const |
constexpr CK_TILE_HOST_DEVICE value_type & | operator[] (index_t i) |
constexpr CK_TILE_HOST_DEVICE value_type & | operator() (index_t i) |
template<typename Tx > | |
constexpr CK_TILE_HOST_DEVICE auto & | get_as () |
template<typename Tx > | |
constexpr CK_TILE_HOST_DEVICE const auto & | get_as () const |
template<typename Tx > | |
constexpr CK_TILE_HOST_DEVICE auto & | get_as (index_t i) |
template<typename Tx > | |
constexpr CK_TILE_HOST_DEVICE const auto & | get_as (index_t i) const |
template<typename Tx , index_t I> | |
constexpr CK_TILE_HOST_DEVICE auto & | get_as (number< I >) |
template<typename Tx , index_t I> | |
constexpr CK_TILE_HOST_DEVICE const auto & | get_as (number< I >) const |
template<typename Tx > | |
constexpr CK_TILE_HOST_DEVICE void | set_as (index_t i, const Tx &x) |
template<typename Tx , index_t I> | |
constexpr CK_TILE_HOST_DEVICE void | set_as (number< I >, const Tx &x) |
Static Public Member Functions | |
static constexpr CK_TILE_HOST_DEVICE auto | size () |
static constexpr CK_TILE_HOST_DEVICE bool | is_static () |
Public Attributes | |
value_type | data [N] |
Static Public Attributes | |
static constexpr index_t | N = N_ |
Member Typedef Documentation
◆ value_type
template<typename T_ , index_t N_>
using ck_tile::array< T_, N_ >::value_type = T_ |
Constructor & Destructor Documentation
◆ array() [1/3]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ array() [2/3]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ array() [3/3]
template<typename T_ , index_t N_>
template<typename Y , typename = std::enable_if_t<std::is_convertible_v<Y, value_type> || std::is_constructible_v<Y, value_type>>>
|
inlineexplicitconstexpr |
Member Function Documentation
◆ at() [1/6]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ at() [2/6]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ at() [3/6]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ at() [4/6]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ at() [5/6]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ at() [6/6]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ get() [1/8]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ get() [2/8]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ get() [3/8]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ get() [4/8]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ get() [5/8]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ get() [6/8]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ get() [7/8]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ get() [8/8]
template<typename T_ , index_t N_>
template<index_t I>
|
inlineconstexpr |
◆ get_as() [1/6]
template<typename T_ , index_t N_>
template<typename Tx >
|
inlineconstexpr |
◆ get_as() [2/6]
template<typename T_ , index_t N_>
template<typename Tx >
|
inlineconstexpr |
◆ get_as() [3/6]
template<typename T_ , index_t N_>
template<typename Tx >
|
inlineconstexpr |
◆ get_as() [4/6]
template<typename T_ , index_t N_>
template<typename Tx >
|
inlineconstexpr |
◆ get_as() [5/6]
template<typename T_ , index_t N_>
template<typename Tx , index_t I>
|
inlineconstexpr |
◆ get_as() [6/6]
template<typename T_ , index_t N_>
template<typename Tx , index_t I>
|
inlineconstexpr |
◆ is_static()
template<typename T_ , index_t N_>
|
inlinestaticconstexpr |
◆ operator()()
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ operator[]() [1/2]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ operator[]() [2/2]
template<typename T_ , index_t N_>
|
inlineconstexpr |
◆ set_as() [1/2]
template<typename T_ , index_t N_>
template<typename Tx >
|
inlineconstexpr |
◆ set_as() [2/2]
template<typename T_ , index_t N_>
template<typename Tx , index_t I>
|
inlineconstexpr |
◆ size()
template<typename T_ , index_t N_>
|
inlinestaticconstexpr |
Member Data Documentation
◆ data
template<typename T_ , index_t N_>
value_type ck_tile::array< T_, N_ >::data[N] |
◆ N
template<typename T_ , index_t N_>
|
staticconstexpr |
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/array.hpp