Extend SimulationWorkload with CPU flags
authorSzilárd Páll <pall.szilard@gmail.com>
Wed, 23 Oct 2019 17:17:46 +0000 (19:17 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Mon, 28 Oct 2019 16:49:26 +0000 (17:49 +0100)
commit2e4259ae7c3f011b30fb03f14b3b9426ce39e088
tree0cd43362cc01aeb0e09ddadbeebfddbb4ce62448
parentf4402a57b65bdcf8a214c9f2bab3d41502b3d8a7
Extend SimulationWorkload with CPU flags

Added flags for PME and Nonbondeds to indicate whether there is CPU
workload; this is useful as the lack of GPU work does not imply the
existence of CPU work.

Also made createSimulationWorkload() take the PME runmode class enum
instead of a bunch of bools.

Made some naming consistency improvements.

Refs #3181

Change-Id: I66233f1c790fc5092fb1babaed2ec3ebf16416de
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdrun/md.cpp
src/gromacs/mdrun/runner.cpp
src/gromacs/mdtypes/simulation_workload.h
src/gromacs/taskassignment/decidesimulationworkload.cpp
src/gromacs/taskassignment/decidesimulationworkload.h