Use GpuTimers in CUDA and OpenCL versions of NBNXM directly
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 24 Feb 2021 13:42:23 +0000 (16:42 +0300)
committerArtem Zhmurov <zhmurov@gmail.com>
Wed, 24 Feb 2021 13:42:23 +0000 (16:42 +0300)
commit177e8e3ab38b642224a64486a40789f6e4051f22
tree83688f3d9d34bad84fdcaba3f0d6da0135d8227d
parentb927a1b70ab9b4ea9283a7cfb7c6577581262e8b
Use GpuTimers in CUDA and OpenCL versions of NBNXM directly

The GpuTimers are used through proxy objects in OpenCL and CUDA
versions of NBNXM, which complicates the unification of the code.
This change eliminates the proxy object by using the underlying
object directly.

Refs #2608
src/gromacs/nbnxm/cuda/nbnxm_cuda.cu
src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
src/gromacs/nbnxm/cuda/nbnxm_cuda_types.h
src/gromacs/nbnxm/gpu_common.h
src/gromacs/nbnxm/gpu_types_common.h
src/gromacs/nbnxm/nbnxm_gpu_data_mgmt.cpp
src/gromacs/nbnxm/opencl/nbnxm_ocl.cpp
src/gromacs/nbnxm/opencl/nbnxm_ocl_data_mgmt.cpp
src/gromacs/nbnxm/opencl/nbnxm_ocl_types.h
src/gromacs/nbnxm/sycl/nbnxm_sycl_types.h