Add tests on asynchronous host-to-device copy and back
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 24 Feb 2021 19:24:01 +0000 (19:24 +0000)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 24 Feb 2021 19:24:01 +0000 (19:24 +0000)
commitfa2de53af03fe27220c250af938bbc8385312830
tree561b36f8934b7ff2373e799c490fef0c29356af9
parentefba3913be46fec6f78742d83d770e7d8a12b0ff
Add tests on asynchronous host-to-device copy and back

The copy routines take different paths depending on transfer kind,
hence both sync and async copy should be tested. This adds tests
for async calls.
src/gromacs/gpu_utils/gpu_utils.cpp
src/gromacs/gpu_utils/gpu_utils.h
src/gromacs/gpu_utils/tests/device_buffer.cpp