Gromacs
2026.0-dev-20241121-c76fa1e
|
Function stubs for build types that don't implement methods.
Functions | |
void | startGpuProfiler () |
Starts the GPU profiler if mdrun is being profiled. More... | |
void | stopGpuProfiler () |
Stops the CUDA profiler if mdrun is being profiled. More... | |
void | resetGpuProfiler () |
Resets the GPU profiler if mdrun is being profiled. More... | |
bool | isHostMemoryPinned (const void *) |
Tells whether the host buffer was pinned for non-blocking transfers. Only implemented for CUDA. | |
void | checkPendingDeviceErrorBetweenSteps () |
Check for API errors to avoid propagating these across e.g. MD steps. | |
void | setupGpuDevicePeerAccess (gmx::ArrayRef< const int >, const gmx::MDLogger &) |
Enable peer access between GPUs where supported. More... | |
void resetGpuProfiler | ( | ) |
Resets the GPU profiler if mdrun is being profiled.
When a profiler run is in progress (based on the presence of the NVPROF_ID env. var.), the profiler data is restet in order to eliminate the data collected from the preceding part fo the run.
This function should typically be called at the mdrun counter reset time.
Note that this is implemented only for the CUDA API.
void setupGpuDevicePeerAccess | ( | gmx::ArrayRef< const int > | gpuIdsToUse, |
const gmx::MDLogger & | mdlog | ||
) |
Enable peer access between GPUs where supported.
[in] | gpuIdsToUse | List of GPU IDs in use |
[in] | mdlog | Logger object |
void startGpuProfiler | ( | ) |
Starts the GPU profiler if mdrun is being profiled.
When a profiler run is in progress (based on the presence of the NVPROF_ID env. var.), the profiler is started to begin collecting data during the rest of the run (or until stopGpuProfiler is called).
Note that this is implemented only for the CUDA API.
void stopGpuProfiler | ( | ) |
Stops the CUDA profiler if mdrun is being profiled.
This function can be called at cleanup when skipping recording recording subsequent API calls from being traces/profiled is desired, e.g. before uninitialization.
Note that this is implemented only for the CUDA API.