Small fixes to the DeviceStream
commitc26d93dac1b18289643067d153ee890e60eca189
authorArtem Zhmurov <zhmurov@gmail.com>
Fri, 20 Mar 2020 06:02:24 +0000 (20 07:02 +0100)
committerChristian Blau <cblau@gerrit.gromacs.org>
Fri, 20 Mar 2020 11:26:15 +0000 (20 12:26 +0100)
treee801295c95bbe9d65d3992f93872d3915a1d6e44
parent7a38f4b6290de2c13fb921335d66a80eb7671fec
Small fixes to the DeviceStream

1. Fix compiler warning on having const modifier for bool in function declaration.
2. Fix comments.
3. Introduce isValid(...) method and use it inside the class.

Refs #3314
Refs #3311

Change-Id: I482aee831461f6b170c5fbf90f3f3e978282d226
src/gromacs/gpu_utils/device_stream.cpp
src/gromacs/gpu_utils/device_stream.cu
src/gromacs/gpu_utils/device_stream.h
src/gromacs/gpu_utils/device_stream_ocl.cpp