The Kokkos interface that holds the host reference of the Kokkos systems and copies it to device during parallel dispatch. More...
#include <KokkosSystem.h>
Public Member Functions | |
| SystemHolder (Array< System > &systems) | |
| Constructor. More... | |
| SystemHolder (const SystemHolder &holder) | |
| Copy constructor. More... | |
| KOKKOS_FUNCTION const Array< System > & | kokkosSystems () const |
| Get the const reference of the Kokkos systems. More... | |
| Array< System > & | kokkosSystems () |
| Get the writeable host reference of the Kokkos systems. More... | |
| KOKKOS_FUNCTION const System & | kokkosSystem (unsigned int sys) const |
| Get the const reference of a Kokkos system. More... | |
| System & | kokkosSystem (unsigned int sys) |
| Get the writeable reference of a Kokkos system. More... | |
Private Attributes | |
| Array< System > & | _systems_host |
| Host reference of the Kokkos systems. More... | |
| const Array< System > | _systems_device |
| Device copy of the Kokkos systems. More... | |
The Kokkos interface that holds the host reference of the Kokkos systems and copies it to device during parallel dispatch.
Maintains synchronization between host and device Kokkos systems and provides access to the appropriate Kokkos systems depending on the architecture.
Definition at line 753 of file KokkosSystem.h.
Constructor.
| systems | The Kokkos systems |
Definition at line 760 of file KokkosSystem.h.
|
inline |
Copy constructor.
Definition at line 764 of file KokkosSystem.h.
|
inline |
Get the const reference of a Kokkos system.
| sys | The system number |
Definition at line 792 of file KokkosSystem.h.
Referenced by Moose::Kokkos::ResidualObject::accumulateTaggedElementalMatrix(), Moose::Kokkos::ResidualObject::accumulateTaggedElementalResidual(), Moose::Kokkos::ResidualObject::accumulateTaggedNodalMatrix(), Moose::Kokkos::ResidualObject::accumulateTaggedNodalResidual(), KokkosCopyValueAux::computeElementInternal(), KokkosCopyValueAux::computeNodeInternal(), KokkosExtraIDIntegralVectorPostprocessor::execute(), Moose::Kokkos::ADNodalBC::operator()(), Moose::Kokkos::AuxKernel::operator()(), Moose::Kokkos::NodalBC::operator()(), Moose::Kokkos::NodalKernel::operator()(), Moose::Kokkos::IntegratedBC::operator()(), Moose::Kokkos::Kernel::operator()(), KokkosExtraIDIntegralVectorPostprocessor::reduce(), Moose::Kokkos::AuxKernel::setElementSolution(), and Moose::Kokkos::AuxKernel::setNodeSolution().
Get the writeable reference of a Kokkos system.
| sys | The system number |
Definition at line 803 of file KokkosSystem.h.
Get the const reference of the Kokkos systems.
Definition at line 775 of file KokkosSystem.h.
Referenced by Moose::Kokkos::ElementReducer::operator()(), Moose::Kokkos::SideReducer::operator()(), Moose::Kokkos::NodalReducer::operator()(), Moose::Kokkos::NodalUserObject::operator()(), Moose::Kokkos::SideUserObject::operator()(), Moose::Kokkos::ElementUserObject::operator()(), Moose::Kokkos::ADNodalBC::operator()(), Moose::Kokkos::ADKernel::operator()(), Moose::Kokkos::ADIntegratedBC::operator()(), Moose::Kokkos::AuxKernel::operator()(), Moose::Kokkos::Material::operator()(), Moose::Kokkos::NodalBC::operator()(), Moose::Kokkos::NodalKernel::operator()(), Moose::Kokkos::Kernel::operator()(), and Moose::Kokkos::IntegratedBC::operator()().
Get the writeable host reference of the Kokkos systems.
Definition at line 785 of file KokkosSystem.h.
Device copy of the Kokkos systems.
Definition at line 814 of file KokkosSystem.h.
Referenced by kokkosSystem(), and kokkosSystems().
Host reference of the Kokkos systems.
Definition at line 810 of file KokkosSystem.h.
Referenced by kokkosSystem(), and kokkosSystems().
1.8.14