Simplify make_pairlist() call signature
[alexxy/gromacs.git] / src / gromacs / nbnxm / opencl / nbnxm_ocl_data_mgmt.cpp
index 3ee147cfd47deb954208fdfc0d23f97f81b05597..d040b67c221a8f6c3089f2f137423067f84632eb 100644 (file)
@@ -418,7 +418,7 @@ void gpu_pme_loadbal_update_param(const nonbonded_verlet_t    *nbv,
                                   const interaction_const_t   *ic,
                                   const NbnxnListParameters   *listParams)
 {
-    if (!nbv || nbv->grp[InteractionLocality::Local].kernel_type != nbnxnk8x8x8_GPU)
+    if (!nbv || !nbv->useGpu())
     {
         return;
     }