Split canDetectGpus()
[alexxy/gromacs.git] / src / programs / mdrun / tests / pmetest.cpp
index 960ccbf276b7cae493b6d6f9cab372dac221f9e0..1ab8fa444bee11d1430b8cec76ca61b56de3ddd0 100644 (file)
@@ -104,7 +104,7 @@ void PmeTest::SetUpTestCase()
     // there is no GPU support in the build.
     //
     // TODO report any error messages gracefully.
-    if (canDetectGpus(nullptr))
+    if (canPerformGpuDetection())
     {
         findGpus(&gpuInfo);
         s_hasCompatibleGpus = (gpuInfo.n_dev_compatible > 0);