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

Go to the source code of this file.

Classes

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 >::constructed_entry_iterator< is_const >
 Iterator over tracked constructed entries. More...
 
class  Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_range< is_const >
 Range over tracked constructed entries. 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

namespace  Moose
 MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found.
 
namespace  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 class  Moose::Kokkos::MemcpyType { Moose::Kokkos::HOST_TO_HOST , Moose::Kokkos::HOST_TO_DEVICE , Moose::Kokkos::DEVICE_TO_HOST , Moose::Kokkos::DEVICE_TO_DEVICE }
 The enumerator that dictates the memory copy direction. More...
 
enum class  Moose::Kokkos::LayoutType { Moose::Kokkos::LEFT , Moose::Kokkos::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)