Gromacs
2018.7
|
#include "gmxpre.h"
#include "reportgpuusage.h"
#include <set>
#include <string>
#include "gromacs/gpu_utils/gpu_utils.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 | |
static size_t | gmx::anonymous_namespace{reportgpuusage.cpp}::countUniqueGpuIdsUsed (const GpuTaskAssignments &gpuTaskAssignmentOnRanksOfThisNode) |
Count and return the number of unique GPUs (per node) selected. More... | |
void | gmx::reportGpuUsage (const MDLogger &mdlog, bool userSetGpuIds, const GpuTaskAssignments &gpuTaskAssignmentOnRanksOfThisNode, size_t numGpuTasksOnThisNode, size_t numPpRanks, bool bPrintHostName) |
Log a report on how GPUs are being used on the ranks of the physical node of rank 0 of the simulation. More... | |