Stop PME GPU code from compiling on non-CUDA builds
commit661842ba484431c927d676d4b8ae98b2a1877968
authorAleksei Iupinov <a.yupinov@gmail.com>
Tue, 27 Mar 2018 11:18:51 +0000 (27 13:18 +0200)
committerAleksei Iupinov <a.yupinov@gmail.com>
Thu, 12 Apr 2018 14:50:38 +0000 (12 16:50 +0200)
treeb23c0eca860e687bb1e9c084b0c47262964965b0
parent1ab524fff864b3afe7ce2a66dcdc6aa669e2e09c
Stop PME GPU code from compiling on non-CUDA builds

On non-CUDA builds: all entrypoints into PME GPU code are
marked as stubs; pme-gpu.cpp and pme-gpu-internal.cpp are
excluded from compiling. Several common functions (such as
check for GPU support at the end of PME initialization)
are moved to pme.cpp, to still work with non-GPU builds.

Change-Id: Iaa9ea7b3e42665c60b788e76510a810457a69f20
src/gromacs/ewald/CMakeLists.txt
src/gromacs/ewald/pme-gpu-internal.cpp
src/gromacs/ewald/pme-gpu-internal.h
src/gromacs/ewald/pme-gpu.cpp
src/gromacs/ewald/pme.cpp
src/gromacs/ewald/pme.h
src/gromacs/ewald/tests/pmetestcommon.cpp
src/gromacs/mdlib/sim_util.cpp