Access the device status directly, remove the getter
[alexxy/gromacs.git] / src / gromacs / mdlib / tests / constr.cpp
index 35d9adce3254cafb9327d85323b998a989a39720..ade8dde632b53f47483c45c269c67dd079ab9576 100644 (file)
@@ -89,7 +89,7 @@ std::vector<std::string> getRunnersNames()
 {
     runnersNames.emplace_back("SHAKE");
     runnersNames.emplace_back("LINCS");
-    if (GMX_GPU_CUDA && canComputeOnGpu())
+    if (GMX_GPU_CUDA && canComputeOnDevice())
     {
         runnersNames.emplace_back("LINCS_GPU");
     }