Made CUDA PME texture reference conditional
authorBerk Hess <hess@kth.se>
Mon, 16 Oct 2017 07:24:05 +0000 (09:24 +0200)
committerBerk Hess <hess@kth.se>
Wed, 18 Oct 2017 07:57:58 +0000 (09:57 +0200)
commitd9d08ef14013c45cbb4a5b16db4a0ee6762110b9
treea129663db80f0d54a26ffec045efeb6b7e4b8bd0
parentf87bebd971d977df0b4e68aa9f2f59bc29d58452
Made CUDA PME texture reference conditional

Without texture support we should not reference textures.
Also added const struct to textures.

Change-Id: I1ca4e534da7b9130d12fd6831c119d2139eb16eb
src/gromacs/ewald/pme-spread.cu
src/gromacs/ewald/pme.cuh
src/gromacs/gpu_utils/cuda_kernel_utils.cuh