Simplify make_pairlist() call signature
[alexxy/gromacs.git] / src / gromacs / nbnxm / cuda / nbnxm_cuda_data_mgmt.cu
index f75b1c080f45c6a8335a300a4d5cdd0137ffdc33..c711136b470a9577da0c7e8ee460dc73ec399f51 100644 (file)
@@ -341,7 +341,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;
     }