ConstantContainerElementPicker< Arr, Picks > Struct Template Reference

ConstantContainerElementPicker&lt; Arr, Picks &gt; Struct Template Reference#

Composable Kernel: ck::ConstantContainerElementPicker< Arr, Picks > Struct Template Reference
ck::ConstantContainerElementPicker< Arr, Picks > Struct Template Reference

#include <container_element_picker.hpp>

Public Types

using type = ConstantContainerElementPicker

Public Member Functions

__host__ __device__ constexpr ConstantContainerElementPicker ()=delete
__host__ __device__ constexpr ConstantContainerElementPicker (const Arr &array)
template<index_t I>
__host__ __device__ constexpr const auto & At (Number< I > i) const
template<index_t I>
__host__ __device__ constexpr const auto & operator[] (Number< I > i) const

Static Public Member Functions

__host__ static __device__ constexpr auto Size ()

Member Typedef Documentation

◆ type

template<typename Arr, typename Picks>
using ck::ConstantContainerElementPicker< Arr, Picks >::type = ConstantContainerElementPicker

Constructor & Destructor Documentation

◆ ConstantContainerElementPicker() [1/2]

template<typename Arr, typename Picks>
__host__ __device__ constexpr ck::ConstantContainerElementPicker< Arr, Picks >::ConstantContainerElementPicker ( )
constexprdelete

◆ ConstantContainerElementPicker() [2/2]

template<typename Arr, typename Picks>
__host__ __device__ constexpr ck::ConstantContainerElementPicker< Arr, Picks >::ConstantContainerElementPicker ( const Arr & array)
inlineconstexpr

Member Function Documentation

◆ At()

template<typename Arr, typename Picks>
template<index_t I>
__host__ __device__ constexpr const auto & ck::ConstantContainerElementPicker< Arr, Picks >::At ( Number< I > i) const
inlineconstexpr

◆ operator[]()

template<typename Arr, typename Picks>
template<index_t I>
__host__ __device__ constexpr const auto & ck::ConstantContainerElementPicker< Arr, Picks >::operator[] ( Number< I > i) const
inlineconstexpr

◆ Size()

template<typename Arr, typename Picks>
__host__ static __device__ constexpr auto ck::ConstantContainerElementPicker< Arr, Picks >::Size ( )
inlinestaticconstexpr

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