Gromacs
2024.4
|
#include "gmxpre.h"
#include "reportgpuusage.h"
#include <set>
#include <string>
#include "gromacs/ewald/pme.h"
#include "gromacs/gpu_utils/gpu_utils.h"
#include "gromacs/mdtypes/simulation_workload.h"
#include "gromacs/taskassignment/taskassignment.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/logger.h"
#include "gromacs/utility/stringutil.h"
#include "gromacs/utility/sysinfo.h"
Defines routine for reporting GPU usage.
Functions | |
size_t | gmx::anonymous_namespace{reportgpuusage.cpp}::countUniqueGpuIdsUsed (ArrayRef< const GpuTaskAssignment > gpuTaskAssignmentOnRanksOfThisNode) |
Count and return the number of unique GPUs (per node) selected. More... | |
void | gmx::reportGpuUsage (const MDLogger &mdlog, ArrayRef< const GpuTaskAssignment > gpuTaskAssignmentOnRanksOfThisNode, size_t numGpuTasksOnThisNode, size_t numPpRanks, bool printHostName, PmeRunMode pmeRunMode, const SimulationWorkload &simulationWork) |
Log a report on how GPUs are being used on the ranks of the physical node of rank 0 of the simulation. More... | |