Parse user-supplied GPU task assignment only when needed
commit7282084b44612424876c53adff1e1563e5dfc83d
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 8 Aug 2017 00:39:34 +0000 (8 02:39 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 16 Aug 2017 15:20:44 +0000 (16 17:20 +0200)
treed3b5e05d38d7838e8e521442bf135aca56e6d359
parentdf5479404d0025d40c6edc89138545c2906b18e4
Parse user-supplied GPU task assignment only when needed

Now there is never both a gpuTaskAssignment and a
userGpuTaskAssignment present, which could have been misused or
misunderstood.

Also fixed somewhat related outdataed naming and documentation
for gmx_count_gpu_dev_unique().

Change-Id: I09d27857b6a91a49735850655bdf26af4bd88445
src/gromacs/hardware/hardwareassign.cpp
src/gromacs/hardware/hardwareassign.h
src/gromacs/hardware/printhardware.cpp
src/programs/mdrun/resource-division.cpp
src/programs/mdrun/resource-division.h
src/programs/mdrun/runner.cpp