Gromacs  2020.4
 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/ewald/pme.h"
#include "gromacs/gpu_utils/gpu_utils.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"
+ 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

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, bool useGpuForBonded, PmeRunMode pmeRunMode, bool useGpuForUpdate)
 Log a report on how GPUs are being used on the ranks of the physical node of rank 0 of the simulation. More...