Make PME GPU structures use DeviceBuffer
authorAleksei Iupinov <a.yupinov@gmail.com>
Thu, 3 May 2018 14:20:50 +0000 (16:20 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Wed, 30 May 2018 23:42:12 +0000 (01:42 +0200)
commit1d939a496312b7663dfe4b781e64793b5fea2217
treee7af09f178160391ed5ab9ae5deb480c5ada2f2f
parentd5dda8d3885003b98bb99fdc36bde7b1f688c3c9
Make PME GPU structures use DeviceBuffer

A couple related function calls in PME are changed to match.
allocateDeviceBuffer() is now correctly called with the GPU
context handle instead of a stream handle (this was not causing
errors since context is only a stub in CUDA implementation).
pme-gpu-internal.cpp is now compiled with CUDA compiler
(to handle gputraits.cuh included through devicebuffer.h),
paving the way for using unified CUDA/OpenCL host code.

Change-Id: I3621bd93e4b2cc7c02161323f532ca62b48763ab
src/gromacs/CMakeLists.txt
src/gromacs/ewald/CMakeLists.txt
src/gromacs/ewald/pme-gpu-internal.cpp
src/gromacs/ewald/pme-gpu-types.h
src/gromacs/ewald/pme.cu
src/gromacs/ewald/pme.cuh