The Kokkos interface that holds the host reference of the Kokkos mesh and copies it to device during parallel dispatch Maintains synchronization between host and device Kokkos mesh and provides access to the appropriate Kokkos mesh depending on the architecture. More...
#include <KokkosMesh.h>
Public Member Functions | |
MeshHolder (const Mesh &mesh) | |
Constructor. More... | |
MeshHolder (const MeshHolder &holder) | |
Copy constructor. More... | |
KOKKOS_FUNCTION const Mesh & | kokkosMesh () const |
Get the const reference of the Kokkos mesh. More... | |
Private Attributes | |
const Mesh & | _mesh_host |
Host reference of the Kokkos mesh. More... | |
const Mesh | _mesh_device |
Device copy of the Kokkos mesh. More... | |
The Kokkos interface that holds the host reference of the Kokkos mesh and copies it to device during parallel dispatch Maintains synchronization between host and device Kokkos mesh and provides access to the appropriate Kokkos mesh depending on the architecture.
Definition at line 338 of file KokkosMesh.h.
|
inline |
Constructor.
assembly | The Kokkos mesh |
Definition at line 345 of file KokkosMesh.h.
|
inline |
Copy constructor.
Definition at line 349 of file KokkosMesh.h.
|
inline |
Get the const reference of the Kokkos mesh.
Definition at line 360 of file KokkosMesh.h.
Referenced by Moose::Kokkos::Assembly::computePhysicalMap().
|
private |
Device copy of the Kokkos mesh.
Definition at line 376 of file KokkosMesh.h.
Referenced by kokkosMesh().
|
private |
Host reference of the Kokkos mesh.
Definition at line 372 of file KokkosMesh.h.
Referenced by kokkosMesh().