https://mooseframework.inl.gov
Classes | Namespaces | Typedefs | Enumerations | Functions
KokkosArray.h File Reference

Go to the source code of this file.

Classes

class  Moose::Kokkos::Array< T, dimension, index_type, layout >
 The Kokkos array class. More...
 
struct  Moose::Kokkos::is_kokkos_array< typename >
 The type trait that determines if a template type is Kokkos array. More...
 
struct  Moose::Kokkos::is_kokkos_array< Array< T, dimension, index_type, layout > >
 
struct  Moose::Kokkos::ArrayDeepCopy< T >
 The type trait that determines the default behavior of copy constructor and deepCopy() If this type trait is set to true, the copy constructor will call deepCopy(), and the deepCopy() method will copy-construct each entry. More...
 
struct  Moose::Kokkos::ArrayDeepCopy< Array< T, dimension, index_type, layout > >
 
class  Moose::Kokkos::ArrayBase< T, dimension, index_type >
 The base class for Kokkos arrays. More...
 
class  Moose::Kokkos::ArrayBase< T, dimension, index_type >::iterator
 Array iterator. More...
 
class  Moose::Kokkos::Array< T, dimension, index_type, layout >
 The Kokkos array class. More...
 
class  Moose::Kokkos::Array< T, 1, index_type, LayoutType::LEFT >
 

Namespaces

 Moose::Kokkos
 

Typedefs

template<typename T , typename index_type = MOOSE_KOKKOS_INDEX_TYPE>
using Moose::Kokkos::Array1D = Array< T, 1, index_type, LayoutType::LEFT >
 
template<typename T , typename index_type = MOOSE_KOKKOS_INDEX_TYPE, LayoutType layout = LayoutType::LEFT>
using Moose::Kokkos::Array2D = Array< T, 2, index_type, layout >
 
template<typename T , typename index_type = MOOSE_KOKKOS_INDEX_TYPE, LayoutType layout = LayoutType::LEFT>
using Moose::Kokkos::Array3D = Array< T, 3, index_type, layout >
 
template<typename T , typename index_type = MOOSE_KOKKOS_INDEX_TYPE, LayoutType layout = LayoutType::LEFT>
using Moose::Kokkos::Array4D = Array< T, 4, index_type, layout >
 
template<typename T , typename index_type = MOOSE_KOKKOS_INDEX_TYPE, LayoutType layout = LayoutType::LEFT>
using Moose::Kokkos::Array5D = Array< T, 5, index_type, layout >
 

Enumerations

enum  Moose::Kokkos::MemcpyType { Moose::Kokkos::MemcpyType::HOST_TO_HOST, Moose::Kokkos::MemcpyType::HOST_TO_DEVICE, Moose::Kokkos::MemcpyType::DEVICE_TO_HOST, Moose::Kokkos::MemcpyType::DEVICE_TO_DEVICE }
 The enumerator that dictates the memory copy direction. More...
 
enum  Moose::Kokkos::LayoutType { Moose::Kokkos::LayoutType::LEFT, Moose::Kokkos::LayoutType::RIGHT }
 The enumerator that dictates the memory layout. More...
 

Functions

void Moose::Kokkos::free (void *ptr)
 
template<typename T >
void Moose::Kokkos::copyToDeviceInner (T &)
 
template<typename T , unsigned int dimension, typename index_type , LayoutType layout>
void Moose::Kokkos::copyToDeviceInner (Array< T, dimension, index_type, layout > &data)
 
template<typename T , unsigned int dimension, typename index_type , LayoutType layout>
void Moose::Kokkos::dataStore (std::ostream &stream, Array< T, dimension, index_type, layout > &array, void *context)
 
template<typename T , unsigned int dimension, typename index_type , LayoutType layout>
void Moose::Kokkos::dataLoad (std::istream &stream, Array< T, dimension, index_type, layout > &array, void *context)