Simplify gmx_count_gpu_dev_unique()
commit1d52685ab67e5f6a935d5171549933da6f4c7e18
authorAleksei Iupinov <a.yupinov@gmail.com>
Wed, 14 Dec 2016 17:14:13 +0000 (14 18:14 +0100)
committerAleksei Iupinov <a.yupinov@gmail.com>
Thu, 19 Jan 2017 16:17:08 +0000 (19 17:17 +0100)
tree9c029855d3eb2c600c45c8b007d767e966137f11
parentd5c28a8630a44f1301d415a699d69462f45a8ac3
Simplify gmx_count_gpu_dev_unique()

Simplified counting of GPUs in use.
A redundant call to  gmx_gpu_sharing_supported() is also removed,
as it should only be used during the GPU assignment stage.

Change-Id: I203f5b270dc8d1bbb87cb9b847ff9a77b7e703e5
src/gromacs/hardware/detecthardware.cpp