Improve GPU update tasks assignment consistency
authorSzilárd Páll <pall.szilard@gmail.com>
Fri, 24 Jan 2020 13:12:28 +0000 (14:12 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 25 Feb 2020 16:45:23 +0000 (17:45 +0100)
commit1a7301b810f1257e0f9a3bb33fdc5a538c2ce2bb
treeb8b8d8fb319388fd3c60d8a0639d6f21d3cdb660
parenta8d041416eeea855c9348bf6dcf2b677bd787627
Improve GPU update tasks assignment consistency

GPU update task assignment was not consistent with the assumptions and
supported features of the 2020 release and did not implement the correct
checks and fallback in cases where GPU update was decided to not be
supported. Specifically, this change makes sure that when separate PME
ranks are used, without direct GPU communication for PP-PME, GPU update
falls back to the CPU.

Fixes #3354

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