CUDA kernels for switched LJ
[alexxy/gromacs.git] / src / gromacs / mdlib / forcerec.c
index 954c6a714a4a5b43fb75a96efc1397400cb77a4e..3784522200264ef3c6a973bf4deb8dc4468feed5 100644 (file)
@@ -1545,11 +1545,9 @@ gmx_bool nbnxn_acceleration_supported(FILE             *fplog,
     /* TODO: remove these GPU specific restrictions by implementing CUDA kernels */
     if (bGPU)
     {
-        if (ir->vdw_modifier == eintmodFORCESWITCH ||
-            ir->vdw_modifier == eintmodPOTSWITCH ||
-            ir->vdwtype == evdwPME)
+        if (ir->vdwtype == evdwPME)
         {
-            md_print_warn(cr, fplog, "LJ switch functions and LJ-PME are not yet supported on the GPU, falling back to CPU only\n");
+            md_print_warn(cr, fplog, "LJ-PME is not yet supported with GPUs, falling back to CPU only\n");
             return FALSE;
         }
     }