Removed unused host-side allocation code
authorMark Abraham <mark.j.abraham@gmail.com>
Sun, 6 Aug 2017 10:17:13 +0000 (12:17 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Sun, 6 Aug 2017 10:23:59 +0000 (12:23 +0200)
commit386f0e3819912a87c1f46c404c610a7a2a18ef1a
treed0c86b79def5933474991e4781221952b7afcf05
parent3e3c2ea09efd818c1c60694359b91906958b47cf
Removed unused host-side allocation code

Even though the code is not called ever, compiling with gcc 6 and CUDA
9.0 triggers our static assertion preventing the inadvertent use of
smalloc on a C++ type with a constructor.

Fixes #2227

Change-Id: I2cb66e3f9e90cd809467f2c9b42c07b97e2b19ca
src/gromacs/gpu_utils/cudautils.cu
src/gromacs/gpu_utils/cudautils.cuh