Move code handling mdrun -gpu_id to taskassignment module
commit763e638f982890aa53d9240ddd9f0ea3a173e4a2
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 20 May 2019 08:28:28 +0000 (20 10:28 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 18 Jun 2019 21:14:03 +0000 (18 23:14 +0200)
treead17bdb8a77264777359aff9f4cb220c919ad399
parentefa9b8e4765c2a6afad8e1aa02aff411ffa73d8c
Move code handling mdrun -gpu_id to taskassignment module

Also made the error message report all incompatible GPU IDs, not just
the first, and do so by throwing an exception.

Change-Id: I4e1f26a59903077b5ab6cc671486fb059cb78964
src/gromacs/mdrun/runner.cpp
src/gromacs/taskassignment/usergpuids.cpp
src/gromacs/taskassignment/usergpuids.h