Fix premature reporting of action when GPUs are not detected
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 13 Jun 2018 07:24:45 +0000 (09:24 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 13 Jun 2018 15:56:48 +0000 (17:56 +0200)
commit8daff31c6ee889375914b20ca3a01ed9dbf3e01f
tree3d7e61f3006d927b4048b359873edc98e438342f
parenta75d68d17d4f6ea360e94bb485f7e717f7d2ce19
Fix premature reporting of action when GPUs are not detected

The decision about what to do when GPUs could not be detected is a
responsbility taken at a higher level, so the detection handling code
should just report the facts.

Clarified some of the intended usage in the documentation

Fixes #2374

Change-Id: I63b569e053dd88d66351640019efc758e91bbdff
src/gromacs/gpu_utils/gpu_utils.cu
src/gromacs/gpu_utils/gpu_utils.h
src/gromacs/hardware/detecthardware.cpp