Add device-to-device copy function wrapper with tests in CUDA
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 24 Feb 2021 21:44:28 +0000 (00:44 +0300)
committerArtem Zhmurov <zhmurov@gmail.com>
Fri, 26 Feb 2021 13:10:26 +0000 (13:10 +0000)
commit6d6deb9ee4b88d01be90eebd30cff60a6ed69412
tree1f4b8fdfc242ee4f94dee7e17ba1ccdfe2bb5d5c
parent94e654bc594b98b01e13e1ea583e48019f10d962
Add device-to-device copy function wrapper with tests in CUDA

The D2D copy is currently only used in CUDA, so only stubs are added for OpenCL and SYCL.

Closes #3321

Refs #3318
src/gromacs/gpu_utils/devicebuffer.cuh
src/gromacs/gpu_utils/devicebuffer_ocl.h
src/gromacs/gpu_utils/devicebuffer_sycl.h
src/gromacs/gpu_utils/tests/device_buffer.cpp