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 430 of file KokkosMesh.h.
|
inline |
Constructor.
| mesh | The Kokkos mesh |
Definition at line 437 of file KokkosMesh.h.
|
inline |
Copy constructor.
Definition at line 441 of file KokkosMesh.h.
|
inline |
Get the const reference of the Kokkos mesh.
Definition at line 452 of file KokkosMesh.h.
Referenced by Moose::Kokkos::Assembly::computePhysicalMap(), Moose::Kokkos::Kernel::operator()(), Moose::Kokkos::IntegratedBC::operator()(), Moose::Kokkos::Datum::q_point(), and KokkosBoundNodalKernel::skipOnBoundary().
|
private |
Device copy of the Kokkos mesh.
Definition at line 474 of file KokkosMesh.h.
Referenced by kokkosMesh().
|
private |
Host reference of the Kokkos mesh.
Definition at line 470 of file KokkosMesh.h.
Referenced by kokkosMesh().
1.8.14