Template Class RaggedRightArrayofVectorsKokkos

Nested Relationships

Nested Types

Class Documentation

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

Kokkos version of the RaggedRightArray class.

Public Functions

RaggedRightArrayofVectorsKokkos()
RaggedRightArrayofVectorsKokkos(CArrayKokkos<size_t, ILayout, ExecSpace, MemoryTraits> &strides_array, size_t vector_dim, const std::string &tag_string = DEFAULTSTRINGARRAY)
RaggedRightArrayofVectorsKokkos(ViewCArray<size_t> &strides_array, size_t vector_dim, const std::string &tag_string = DEFAULTSTRINGARRAY)
RaggedRightArrayofVectorsKokkos(size_t *strides_array, size_t some_dim1, size_t vector_dim, const std::string &tag_string = DEFAULTSTRINGARRAY)
KOKKOS_INLINE_FUNCTION size_t stride (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, size_t k) 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 RaggedRightArrayofVectorsKokkos & operator= (const RaggedRightArrayofVectorsKokkos &temp)
KOKKOS_INLINE_FUNCTION ~RaggedRightArrayofVectorsKokkos()

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_, size_t myvector_dim)
inline KOKKOS_INLINE_FUNCTION void operator() (const int index, size_t &update) const

Public Members

Strides1D mytemp_strides_
size_t myvector_dim_
class setup_start_indices_functor

Public Functions

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

Public Members

SArray1D mystart_index_
Strides1D mytemp_strides_
size_t myvector_dim_