From 816a8b9852f73ef81c2c4fefe431f987bbc1e21b Mon Sep 17 00:00:00 2001 From: Andrey Alekseenko Date: Thu, 17 Jun 2021 13:34:35 +0000 Subject: [PATCH] SYCL: Reduce the number of atomic ops in NBNXM fShift calculation --- src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp | 21 +++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp b/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp index 1a37f49dff..c5de5de121 100644 --- a/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp +++ b/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp @@ -479,7 +479,26 @@ static inline void reduceForceIAndFShift(cl::sycl::accessor