The Kokkos interface that holds the Kokkos memory pool. More...
#include <KokkosMemoryPool.h>
Public Member Functions | |
MemoryPoolHolder (const MooseApp &app) | |
Constructor. More... | |
MemoryPoolHolder (const MemoryPoolHolder &holder) | |
Copy constructor. More... | |
Protected Member Functions | |
KOKKOS_FUNCTION const MemoryPool & | kokkosMemoryPool () const |
Get the const reference of the Kokkos memory pool. More... | |
Private Attributes | |
const MooseApp & | _app |
Reference of the MOOSE app. More... | |
MemoryPool | _pool |
Device copy of the Kokkos memory pool. More... | |
The Kokkos interface that holds the Kokkos memory pool.
Copies the latest Kokkos memory pool object to device during parallel dispatch.
Definition at line 113 of file KokkosMemoryPool.h.
|
inline |
Constructor.
app | The MOOSE app |
Definition at line 120 of file KokkosMemoryPool.h.
|
inline |
Copy constructor.
Definition at line 124 of file KokkosMemoryPool.h.
|
inlineprotected |
Get the const reference of the Kokkos memory pool.
Definition at line 134 of file KokkosMemoryPool.h.
|
private |
Reference of the MOOSE app.
Definition at line 140 of file KokkosMemoryPool.h.
|
private |
Device copy of the Kokkos memory pool.
Definition at line 144 of file KokkosMemoryPool.h.
Referenced by kokkosMemoryPool().