Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / gromacs / gpu_utils / tests / typecasts_runner.cpp
index 580e457d282060665afa67d33b376fbd40bbeb18..71135fe85e642b2e0d38c9cf3685bc1bf27c8798 100644 (file)
@@ -48,7 +48,7 @@
 
 #include "testutils/testasserts.h"
 
-#if GMX_GPU != GMX_GPU_CUDA
+#if !GMX_GPU_CUDA
 
 namespace gmx
 {
@@ -71,4 +71,4 @@ void convertRVecToFloat3OnDevice(std::vector<gmx::RVec>& /* rVecOutput */,
 } // namespace test
 } // namespace gmx
 
-#endif // GMX_GPU != GMX_GPU_CUDA
+#endif // !GMX_GPU_CUDA