Gromacs  2018.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
#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"
+ Include dependency graph for reportgpuusage.cpp:

Description

Defines routine for reporting GPU usage.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

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...