Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / programs / mdrun / tests / simulator.cpp
index e6c3fa3188912d3c1ff977aec088efc24606833a..eae77384e775dfe167f40a28d418ea2bf72da951 100644 (file)
@@ -207,7 +207,7 @@ TEST_P(SimulatorComparisonTest, WithinTolerances)
 //       tests can run in such configurations.
 // These tests are very sensitive, so we only run them in double precision.
 // As we change call ordering, they might actually become too strict to be useful.
-#if GMX_GPU != GMX_GPU_OPENCL && GMX_DOUBLE
+#if !GMX_GPU_OPENCL && GMX_DOUBLE
 INSTANTIATE_TEST_CASE_P(SimulatorsAreEquivalentDefaultModular,
                         SimulatorComparisonTest,
                         ::testing::Combine(::testing::Combine(::testing::Values("argon12", "tip3p5"),