Unify and clarify a couple of macro definitions in NBNXM
authorArtem Zhmurov <zhmurov@gmail.com>
Thu, 18 Feb 2021 16:31:47 +0000 (19:31 +0300)
committerAndrey Alekseenko <al42and@gmail.com>
Fri, 19 Feb 2021 10:03:42 +0000 (10:03 +0000)
commit12e241d11a611d502a78361f6c310d50bb9a0c7d
treea1d0ebfe0eff22910c33d0ac169722eff2ba4928
parentaed54c2748a5d333f2eb32419a7fd24e7acce2ee
Unify and clarify a couple of macro definitions in NBNXM

1. The GMX_NBNXN_PRUNE_KERNEL_J4_CONCURRENCY definition was
essentially duplicated in CUDA and OpenCL. This unify them.

2. The 1/sqrt(PI) macro was defined several times in OpenCL.
src/gromacs/nbnxm/cuda/nbnxm_cuda.cu
src/gromacs/nbnxm/cuda/nbnxm_cuda_types.h
src/gromacs/nbnxm/gpu_types_common.h
src/gromacs/nbnxm/opencl/nbnxm_ocl.cpp
src/gromacs/nbnxm/opencl/nbnxm_ocl_consts.h
src/gromacs/nbnxm/opencl/nbnxm_ocl_types.h