Run GPU detection even for mdrun -nb cpu
commit795ad1f89751d8d7e8832a28fcfdf9e53d85d0db
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 21 Aug 2017 13:27:33 +0000 (21 15:27 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 22 Aug 2017 19:01:03 +0000 (22 21:01 +0200)
tree1d2918ee2e8f028de7eb3836f91a93e0ad037a5e
parent762c6f0cf02d9fbfcd901a7a97fb83fd9ac547ec
Run GPU detection even for mdrun -nb cpu

The complexity of managing and documenting the setup-time optimization
of whether we do GPU detection in this case is not worth the small
advantage in the case where the user compiled a GPU binary and
required the use of CPUs.

Removed some comments that were either duplicates of the code or
likely to rot.

Change-Id: Ib9c234b55026981090fd064950e361eba21d198e
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/detecthardware.h
src/programs/mdrun/runner.cpp