The Kokkos interface that holds the host reference of the Kokkos assembly and copies it to device during parallel dispatch. More...
#include <KokkosAssembly.h>
Public Member Functions | |
AssemblyHolder (const Assembly &assembly) | |
Constructor. More... | |
AssemblyHolder (const AssemblyHolder &holder) | |
Copy constructor. More... | |
KOKKOS_FUNCTION const Assembly & | kokkosAssembly () const |
Get the const reference of the Kokkos assembly. More... | |
Private Attributes | |
const Assembly & | _assembly_host |
Host reference of the Kokkos assembly. More... | |
const Assembly | _assembly_device |
Device copy of the Kokkos assembly. More... | |
The Kokkos interface that holds the host reference of the Kokkos assembly and copies it to device during parallel dispatch.
Maintains synchronization between host and device Kokkos assemblies and provides access to the appropriate Kokkos assembly depending on the architecture.
Definition at line 480 of file KokkosAssembly.h.
|
inline |
Constructor.
assembly | The Kokkos assembly |
Definition at line 487 of file KokkosAssembly.h.
|
inline |
Copy constructor.
Definition at line 493 of file KokkosAssembly.h.
|
inline |
Get the const reference of the Kokkos assembly.
Definition at line 504 of file KokkosAssembly.h.
Referenced by Moose::Kokkos::System::getVectorQpGradFace(), Moose::Kokkos::System::getVectorQpValueFace(), Moose::Kokkos::Material::operator()(), Moose::Kokkos::NodalKernel::operator()(), Moose::Kokkos::NodalBC::operator()(), Moose::Kokkos::IntegratedBC::operator()(), and Moose::Kokkos::Kernel::operator()().
|
private |
Device copy of the Kokkos assembly.
Definition at line 520 of file KokkosAssembly.h.
Referenced by kokkosAssembly().
|
private |
Host reference of the Kokkos assembly.
Definition at line 516 of file KokkosAssembly.h.
Referenced by kokkosAssembly().