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 629 of file KokkosMesh.h.
|
inline |
Constructor.
| mesh | The Kokkos mesh |
Definition at line 636 of file KokkosMesh.h.
|
inline |
Copy constructor.
Definition at line 640 of file KokkosMesh.h.
|
inline |
Get the const reference of the Kokkos mesh.
Definition at line 651 of file KokkosMesh.h.
Referenced by Moose::Kokkos::Assembly::computePhysicalMap(), Moose::Kokkos::LinearFVElementalKernel::operator()(), Moose::Kokkos::LinearFVFluxKernel::operator()(), Moose::Kokkos::VectorIntegratedBC::operator()(), Moose::Kokkos::VectorKernel::operator()(), Moose::Kokkos::Kernel::operator()(), Moose::Kokkos::IntegratedBC::operator()(), Moose::Kokkos::LinearFVBoundaryCondition::operator()(), Moose::Kokkos::Datum::q_point(), and KokkosBoundNodalKernel::skipOnBoundary().
|
private |
Device copy of the Kokkos mesh.
Definition at line 673 of file KokkosMesh.h.
Referenced by kokkosMesh().
|
private |
Host reference of the Kokkos mesh.
Definition at line 669 of file KokkosMesh.h.
Referenced by kokkosMesh().
1.8.14