Allow CUDA build tests to succeed without GPU
commitc946ef0722206315c48fe7924e0e2a01abfd708d
authorPaul Bauer <paul.bauer.q@gmail.com>
Thu, 5 Nov 2020 11:35:58 +0000 (5 12:35 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Thu, 5 Nov 2020 14:23:20 +0000 (5 14:23 +0000)
tree71eed6f47d62fce8c2a96bbfd43c21356e03af18
parent3f48e8a43686630422ecec4891b4ef7cb803ed18
Allow CUDA build tests to succeed without GPU

Added early return to haloexchange GPU pathway test to not try to run
the tests without a GPU (i.e. device list is empty).

Refs #3789
src/gromacs/domdec/tests/haloexchange_mpi.cpp