Merge common nbnxn CUDA/OpenCL GPU wait code-paths
authorSzilárd Páll <pall.szilard@gmail.com>
Fri, 20 Oct 2017 20:26:25 +0000 (22:26 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Tue, 7 Nov 2017 16:41:32 +0000 (17:41 +0100)
commitf2d07358eff989ea204972f0290e4991ea0aa1de
treef59d1f3dce9a2db2c910b3c1d9f80c5f492cb48c
parent2e0999a180d90e7450b3d47adad87e7e92aae5ca
Merge common nbnxn CUDA/OpenCL GPU wait code-paths

The entire GPU wait including timing accumulation as well as staging
data reducion of the nonbonded GPU modules has been unified by
including a single templated version of the code into the common header.
Code has only been moved and changed in minor ways when necessary (e.g.
for the rvec reduction).

Change-Id: Ic9c9690be58a78f92ca99d2af30068e19c19cc6c
src/gromacs/gpu_utils/cudautils.cuh
src/gromacs/gpu_utils/oclutils.h
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu
src/gromacs/mdlib/nbnxn_gpu.h
src/gromacs/mdlib/nbnxn_gpu_common.h
src/gromacs/mdlib/nbnxn_gpu_common_utils.h [new file with mode: 0644]
src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl.cpp
src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp