Template Class RaggedDownArrayKokkos

Nested Relationships

Nested Types

Class Documentation

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

Kokkos version of the serial RaggedDownArray class.

Public Functions

RaggedDownArrayKokkos()
RaggedDownArrayKokkos(CArrayKokkos<size_t, Layout, ExecSpace, MemoryTraits> &strides_array, const std::string &tag_string = DEFAULTSTRINGARRAY)
RaggedDownArrayKokkos(ViewCArray<size_t> &strides_array, const std::string &tag_string = DEFAULTSTRINGARRAY)
RaggedDownArrayKokkos(size_t *strides_array, size_t some_dim2, const std::string &tag_string = DEFAULTSTRINGARRAY)
KOKKOS_INLINE_FUNCTION size_t stride (size_t j) const
void data_setup(const std::string &tag_string)
KOKKOS_INLINE_FUNCTION T & operator() (size_t i, size_t j) const
KOKKOS_INLINE_FUNCTION T * pointer ()
KOKKOS_INLINE_FUNCTION TArray1D get_kokkos_view ()
KOKKOS_INLINE_FUNCTION RaggedDownArrayKokkos & operator= (const RaggedDownArrayKokkos &temp)
KOKKOS_INLINE_FUNCTION ~RaggedDownArrayKokkos()

Public Members

Strides1D mystrides_
SArray1D start_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_