Template Class RaggedRightArrayKokkos

Nested Relationships

Nested Types

Class Documentation

template<typename T, typename Layout = DefaultLayout, typename ExecSpace = DefaultExecSpace, typename MemoryTraits = void, typename ILayout = Layout>
class RaggedRightArrayKokkos

Kokkos version of the serial RaggedRightArray class.

Public Functions

RaggedRightArrayKokkos()
RaggedRightArrayKokkos(CArrayKokkos<size_t, ILayout, ExecSpace, MemoryTraits> &strides_array, const std::string &tag_string = DEFAULTSTRINGARRAY)
RaggedRightArrayKokkos(DCArrayKokkos<size_t, ILayout, ExecSpace, MemoryTraits> &strides_array, const std::string &tag_string = DEFAULTSTRINGARRAY)
RaggedRightArrayKokkos(ViewCArray<size_t> &strides_array, const std::string &tag_string = DEFAULTSTRINGARRAY)
RaggedRightArrayKokkos(size_t *strides_array, size_t some_dim1, const std::string &tag_string = DEFAULTSTRINGARRAY)
KOKKOS_INLINE_FUNCTION size_t stride (size_t i) const
size_t stride_host(size_t i) const
KOKKOS_INLINE_FUNCTION size_t & build_stride (const size_t i) const
KOKKOS_INLINE_FUNCTION void stride_finalize () const
KOKKOS_INLINE_FUNCTION T & operator() (size_t i, size_t j) const
inline KOKKOS_INLINE_FUNCTION size_t size ()
void data_setup(const std::string &tag_string)
KOKKOS_INLINE_FUNCTION T * pointer ()
KOKKOS_INLINE_FUNCTION TArray1D get_kokkos_view ()
KOKKOS_INLINE_FUNCTION RaggedRightArrayKokkos & operator= (const RaggedRightArrayKokkos &temp)
KOKKOS_INLINE_FUNCTION ~RaggedRightArrayKokkos()

Public Members

Strides1D mystrides_
SArray1D start_index_
class finalize_stride_functor

Public Functions

inline finalize_stride_functor(SArray1D tempstart_index_)
inline KOKKOS_INLINE_FUNCTION void operator() (const int index, int &update, bool final) const

Public Members

SArray1D mystart_index_
class init_start_indices_functor

Public Functions

inline init_start_indices_functor(SArray1D tempstart_index_)
inline KOKKOS_INLINE_FUNCTION void operator() (const int index) const

Public Members

SArray1D mystart_index_
class setup_length_functor

Public Types

typedef size_t value_type

Public Functions

inline setup_length_functor(Strides1D temp_strides_)
inline KOKKOS_INLINE_FUNCTION void operator() (const int index, size_t &update) const

Public Members

Strides1D mytemp_strides_
class setup_start_indices_functor

Public Functions

inline setup_start_indices_functor(SArray1D tempstart_index_, Strides1D temp_strides_)
inline KOKKOS_INLINE_FUNCTION void operator() (const int index, int &update, bool final) const

Public Members

SArray1D mystart_index_
Strides1D mytemp_strides_