|
using | Graph = void * |
|
using | GraphInstance = void * |
|
Create MD graph object.
- Parameters
-
[in] | deviceStreamManager | Device stream manager object |
[in] | simulationWork | Simulation workload structure |
[in] | mpiComm | MPI communicator for PP domain decomposition |
[in] | evenOrOddStep | Whether this graph corresponds to even or odd step |
[in] | wcycle | Wall cycle timer object |
bool gmx::MdGpuGraph::Impl::captureThisStep |
( |
bool |
canUseGraphThisStep | ) |
|
Decide whether graph will be captured this step.
- Parameters
-
[in] | canUseGraphThisStep | Whether graph can be used this step |
- Returns
- Whether graph will be captured this step
void gmx::MdGpuGraph::Impl::createExecutableGraph |
( |
bool |
forceGraphReinstantiation | ) |
|
Create executable graph from recorded graph.
- Parameters
-
[in] | forceGraphReinstantiation | Whether graph reinstantiation should be used instead of graph exec update |
void gmx::MdGpuGraph::Impl::disableForDomainIfAnyPpRankHasCpuForces |
( |
bool |
disableGraphAcrossAllPpRanks | ) |
|
Disable graph across all PP ranks for this domain, due to presence of CPU forces on any PP rank.
- Parameters
-
[in] | disableGraphAcrossAllPpRanks | Whether graph usage should be disabled across all PP ranks |
GpuEventSynchronizer* gmx::MdGpuGraph::Impl::getPpTaskCompletionEvent |
( |
| ) |
|
Getter for task completion event for this graph.
- Returns
- ppTaskCompletionEvent_
void gmx::MdGpuGraph::Impl::launchGraphMdStep |
( |
GpuEventSynchronizer * |
xUpdatedOnDeviceEvent | ) |
|
Launch graph corresponding to MD step.
\param [inout] xUpdatedOnDeviceEvent Event marked when coordinates have been updated o\
n device
void gmx::MdGpuGraph::Impl::setUsedGraphLastStep |
( |
bool |
usedGraphLastStep | ) |
|
Set whether graph was used in the previous step.
- Parameters
-
[in] | usedGraphLastStep | Whether graph was used in the last step |
void gmx::MdGpuGraph::Impl::startRecord |
( |
GpuEventSynchronizer * |
xReadyOnDeviceEvent | ) |
|
Denote start of graph region, starts graph recording, and forks those streams involved in graph.
- Parameters
-
[in] | xReadyOnDeviceEvent | Event marked when coordinates are ready on device |
The documentation for this class was generated from the following files: