meta_data_buffer< MaxSize > Struct Template Reference

meta_data_buffer&lt; MaxSize &gt; Struct Template Reference#

Composable Kernel: ck_tile::meta_data_buffer< MaxSize > Struct Template Reference
ck_tile::meta_data_buffer< MaxSize > Struct Template Reference

#include <meta_data_buffer.hpp>

Public Member Functions

CK_TILE_HOST_DEVICE constexpr meta_data_buffer ()
template<typename X, typename... Xs>
CK_TILE_HOST_DEVICE constexpr meta_data_buffer (const X &x, const Xs &... xs)
template<typename T>
CK_TILE_HOST_DEVICE constexpr void push (const T &data)
template<typename X, typename... Xs>
CK_TILE_HOST_DEVICE constexpr void push (const X &x, const Xs &... xs)
template<typename T>
CK_TILE_HOST_DEVICE constexpr T pop (index_t &pos) const
template<typename T>
CK_TILE_HOST_DEVICE constexpr T get (index_t pos) const

Public Attributes

array< std::byte, MaxSize > buffer_
index_t size_ = 0

Constructor & Destructor Documentation

◆ meta_data_buffer() [1/2]

template<index_t MaxSize>
CK_TILE_HOST_DEVICE constexpr ck_tile::meta_data_buffer< MaxSize >::meta_data_buffer ( )
inlineconstexpr

◆ meta_data_buffer() [2/2]

template<index_t MaxSize>
template<typename X, typename... Xs>
CK_TILE_HOST_DEVICE constexpr ck_tile::meta_data_buffer< MaxSize >::meta_data_buffer ( const X & x,
const Xs &... xs )
inlineconstexpr

Member Function Documentation

◆ get()

template<index_t MaxSize>
template<typename T>
CK_TILE_HOST_DEVICE constexpr T ck_tile::meta_data_buffer< MaxSize >::get ( index_t pos) const
inlineconstexpr

◆ pop()

template<index_t MaxSize>
template<typename T>
CK_TILE_HOST_DEVICE constexpr T ck_tile::meta_data_buffer< MaxSize >::pop ( index_t & pos) const
inlineconstexpr

◆ push() [1/2]

template<index_t MaxSize>
template<typename T>
CK_TILE_HOST_DEVICE constexpr void ck_tile::meta_data_buffer< MaxSize >::push ( const T & data)
inlineconstexpr

◆ push() [2/2]

template<index_t MaxSize>
template<typename X, typename... Xs>
CK_TILE_HOST_DEVICE constexpr void ck_tile::meta_data_buffer< MaxSize >::push ( const X & x,
const Xs &... xs )
inlineconstexpr

Member Data Documentation

◆ buffer_

template<index_t MaxSize>
array<std::byte, MaxSize> ck_tile::meta_data_buffer< MaxSize >::buffer_

◆ size_

template<index_t MaxSize>
index_t ck_tile::meta_data_buffer< MaxSize >::size_ = 0

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