Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / programs / mdrun / tests / rerun.cpp
index b490d79901d05ae1bae88b9f44c48933165b66ed..72b23235840b3a881b81945017f11f02be28543a 100644 (file)
@@ -193,7 +193,7 @@ TEST_P(MdrunRerunTest, WithinTolerances)
 // TODO The time for OpenCL kernel compilation means these tests time
 // out. Once that compilation is cached for the whole process, these
 // tests can run in such configurations.
-#if GMX_GPU != GMX_GPU_OPENCL
+#if !GMX_GPU_OPENCL
 INSTANTIATE_TEST_CASE_P(
         NormalMdrunIsReproduced,
         MdrunRerunTest,
@@ -252,7 +252,7 @@ TEST_P(MdrunRerunFreeEnergyTest, WithinTolerances)
 // TODO The time for OpenCL kernel compilation means these tests time
 // out. Once that compilation is cached for the whole process, these
 // tests can run in such configurations.
-#if GMX_GPU != GMX_GPU_OPENCL
+#if !GMX_GPU_OPENCL
 INSTANTIATE_TEST_CASE_P(MdrunIsReproduced,
                         MdrunRerunFreeEnergyTest,
                         ::testing::Combine(::testing::Values("nonanol_vacuo"),