Making DeviceBuffer availible in non-GPU builds
commit22167aee11a694e54f4a03260a6d13c57675085d
authorArtem Zhmurov <zhmurov@gmail.com>
Tue, 10 Sep 2019 11:12:09 +0000 (10 13:12 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Tue, 10 Sep 2019 21:01:41 +0000 (10 23:01 +0200)
treefe8b709ba0c6d03e63aae58b6c32d5ab4383c36d
parent9a16b4202c4eea8b39605ab3462e7121f03c1512
Making DeviceBuffer availible in non-GPU builds

Having DeviceBuffer availible in host-side code in all builds
allows to avoid passing the void-pointers for the device-side
buffers.

This is a part of preparation for the GPU version of the
StatePropagatorData, needed to connect all GPU routines.

Refs. #2816.

Change-Id: I174754de72999ff5299b3ddb8c8a0d05494f7f4c
src/gromacs/gpu_utils/devicebuffer.cuh
src/gromacs/gpu_utils/devicebuffer.h
src/gromacs/gpu_utils/devicebuffer_datatype.h [new file with mode: 0644]
src/gromacs/gpu_utils/devicebuffer_ocl.h