made errors during GPU detection non-fatal
authorSzilard Pall <pszilard@cbr.su.se>
Thu, 29 Nov 2012 21:12:13 +0000 (22:12 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 29 Nov 2012 22:28:16 +0000 (23:28 +0100)
commit47e22c51403b087b5afa52dad4669e01d8ca1374
treef3b194862800e208aef1012a3ad63091d7b2667b
parent7401379f7eb2c494476618abd411e7381fcc0aab
made errors during GPU detection non-fatal

Errors during the GPU detection phase were incorrectly treated as fatal
which meant that in cases like GPU set to thread/process exclusive mode
or runtime/driver incompatibilities resulted in fatal errors when using
binaries compiled with GPU acceleration. These errors are now reported
as a note to the user and allow mdrun to fall back to CPU kernels.

Change-Id: Ie8ebb5a1eeb6533ad451adfd3377870ec859a31d
include/gpu_utils.h
src/gmxlib/gmx_detect_hardware.c
src/gmxlib/gpu_utils/gpu_utils.cu