Revert "Drop NB_ from GMX_CUDA_NB_SINGLE_COMPILATION_UNIT cmake define"
authorAleksei Iupinov <a.yupinov@gmail.com>
Thu, 12 Oct 2017 10:31:45 +0000 (12:31 +0200)
committerBerk Hess <hess@kth.se>
Thu, 12 Oct 2017 12:55:50 +0000 (14:55 +0200)
commitf3598d86e63b545b88e4c0eea89d373bed626f3b
tree493bc3787203118fee03ccbb33e7be446f3f3167
parent9fefbedfbde90f73ea772e34efa94797010d00be
Revert "Drop NB_ from GMX_CUDA_NB_SINGLE_COMPILATION_UNIT cmake define"

This reverts commit 3880255b0, which was made in confusion
stemming from combination of multiple CUDA compilation units,
disabling CUDA textures, and NB CUDA module structure.
The define in question is actually NB-exclusive,
and PME with CUDA does not need to check it to declare
extern texture references. As PME textures are not accessed
from different PME kernels, those extern declarations are removed
in the child change Ie846193c71142ff5e519e990ef1155b534546a9b.

Change-Id: I75a0e62bc92c7161ba0fbf00d8db2f35cef80bc7
cmake/gmxManageGPU.cmake
src/config.h.cmakein
src/gromacs/ewald/pme.cuh
src/gromacs/mdlib/nbnxn_cuda/CMakeLists.txt
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu