Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / gromacs / mdlib / tests / leapfrog.cpp
index 1a03709ac6e3f1fb1d67e027656092c2c45df688..4ff12126e8e14142372f9174fdab0d893a2e261e 100644 (file)
@@ -153,7 +153,7 @@ public:
         // All runners should be registered here under appropriate conditions
         //
         s_runners_["LeapFrogSimple"] = integrateLeapFrogSimple;
-        if (GMX_GPU == GMX_GPU_CUDA && canComputeOnGpu())
+        if (GMX_GPU_CUDA && canComputeOnGpu())
         {
             s_runners_["LeapFrogGpu"] = integrateLeapFrogGpu;
         }