Refactor tracking of GPU short-range work/skipping
[alexxy/gromacs.git] / src / gromacs / nbnxm / gpu_common_utils.h
index 02febb47ab082b0570f4944971aecc9dbf87d1df..77d3b08e9649e3cd0dea7a62d12c3eb3519799ba 100644 (file)
@@ -64,8 +64,8 @@ namespace Nbnxm
  * local part of the force array also depends on the non-local kernel.
  * The skip of the local kernel is taken care of separately.
  */
-static inline bool canSkipWork(const gmx_nbnxn_gpu_t &nb,
-                               InteractionLocality    iloc)
+static inline bool canSkipNonbondedWork(const gmx_nbnxn_gpu_t &nb,
+                                        InteractionLocality    iloc)
 {
     assert(nb.plist[iloc]);
     return (iloc == InteractionLocality::NonLocal &&