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 475 of file KokkosAssembly.h.
|
inline |
Constructor.
assembly | The Kokkos assembly |
Definition at line 482 of file KokkosAssembly.h.
|
inline |
Copy constructor.
Definition at line 488 of file KokkosAssembly.h.
|
inline |
Get the const reference of the Kokkos assembly.
Definition at line 499 of file KokkosAssembly.h.
Referenced by Moose::Kokkos::System::getVectorQpGradFace(), and Moose::Kokkos::System::getVectorQpValueFace().
|
private |
Device copy of the Kokkos assembly.
Definition at line 515 of file KokkosAssembly.h.
Referenced by kokkosAssembly().
|
private |
Host reference of the Kokkos assembly.
Definition at line 511 of file KokkosAssembly.h.
Referenced by kokkosAssembly().