ContainerElementPicker< Arr, Picks > Struct Template Reference

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

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

#include <container_element_picker.hpp>

Public Types

using type = ContainerElementPicker

Public Member Functions

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

Static Public Member Functions

__host__ static __device__ constexpr auto Size ()

Member Typedef Documentation

◆ type

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

Constructor & Destructor Documentation

◆ ContainerElementPicker() [1/2]

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

◆ ContainerElementPicker() [2/2]

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

Member Function Documentation

◆ At() [1/2]

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

◆ At() [2/2]

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

◆ operator()()

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

◆ operator=()

template<typename Arr, typename Picks>
template<typename T>
__host__ __device__ constexpr auto ck::ContainerElementPicker< Arr, Picks >::operator= ( const T & a)
inlineconstexpr

◆ operator[]()

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

◆ Size()

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

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