Limit auto assignment of bondeds to GPUs
authorBerk Hess <hess@kth.se>
Fri, 19 Oct 2018 19:20:40 +0000 (21:20 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 31 Oct 2018 20:00:46 +0000 (21:00 +0100)
commit513b217b2c5a392b0d2360cf2dc8dc49fb35c66a
treeb8ae3165d3829ca12d9df3ae1caf7be50b6342c3
parent80e695a165d01d21537328034f3e4b40af6487fa
Limit auto assignment of bondeds to GPUs

When the CPU has no forces to calculatie, we should not assign
bondeds to the GPU. Here we only assign bondeds to the GPU when
the CPU does PME for electrostatics and/or LJ.

Change-Id: I82f3047311bde45c026c78e44adc4985eb07b0e7
src/gromacs/mdrun/runner.cpp
src/gromacs/taskassignment/decidegpuusage.cpp
src/gromacs/taskassignment/decidegpuusage.h