Fix incorrect GPU update task assignment fallback
authorSzilárd Páll <pall.szilard@gmail.com>
Mon, 10 Feb 2020 18:30:22 +0000 (19:30 +0100)
committerSzilárd Páll <pall.szilard@gmail.com>
Tue, 11 Feb 2020 15:10:52 +0000 (16:10 +0100)
commit906737058526ae6d72165a6a89dc84e381c58417
tree9f99aeea13517195e88854bdf8aef9408e617662
parent73e2b7dc02dc12f3bdfc6d79277e558e7d25ef75
Fix incorrect GPU update task assignment fallback

This change fixes the incorrect fallback condition in the GPU update
task assignment. This also eliminates the assertion trigerred in do_md()
where the correct form of the check is asserted on.
Since the fallback path only triggers when the GPU update would be used by
default this only affected runs with GMX_FORCE_UPDATE_DEFAULT_GPU.

Change-Id: I8b2b506fa998b6ed5e6d6d8ae4b78e27006df199
src/gromacs/taskassignment/decidegpuusage.cpp