Consume any error produced during GPU detection
authorMark Abraham <mark.j.abraham@gmail.com>
Sun, 10 Dec 2017 12:07:18 +0000 (23:07 +1100)
committerAleksei Iupinov <a.yupinov@gmail.com>
Mon, 11 Dec 2017 08:45:23 +0000 (09:45 +0100)
commit29c059adf3362dbcb7071a4c531770fa9c21e519
treefb8549474485044a5a95ee22dd9e4fdccfff8a67
parentbedddd942d53c431f5abce8cf45d84944c997571
Consume any error produced during GPU detection

Having reported it, we should clear the CUDA error status so that
future calls do not continue to return it.

Fixes #2321

Change-Id: Id5c6445074b6b835296fcb544b7fc94168edc974
src/gromacs/gpu_utils/gpu_utils.cu