Fix conditional on assertion for combining GPU Update and GPU coordinate send
authorAlan Gray <alangraygerrit@gmail.com>
Wed, 18 Dec 2019 15:41:45 +0000 (07:41 -0800)
committerArtem Zhmurov <zhmurov@gmail.com>
Wed, 18 Dec 2019 19:29:38 +0000 (20:29 +0100)
commit1953fd6678bdf9f77977a3a88af738bc26038c02
tree301ac2fab071f1ea2e5f1d79e6e4b7bc22e608f8
parent9a3c2ce312c1e04634d636655388a8aaad53c8d1
Fix conditional on assertion for combining GPU Update and GPU coordinate send

Fixes a problem introduced in 9a3c2ce312c1e04634d636655388a8aaad53c8d1
which unintentionally blocks any use of GPU update with PME-PP
Communication because !stepWork.doNeighborSearch is missing from the
condition on the assertion.

Related to #3159 and #3160 which, when implemented, will remove the
restriction on coordinate send originating from the GPU (on non search steps).

Change-Id: Ie9b1102386b2c1bc927c09e4d8ead2bd2321320d
src/gromacs/mdlib/sim_util.cpp