Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / gromacs / mdlib / update_constrain_gpu_impl.cpp
index e290939c09e436556d9492d28da0b9a1e5108b7f..d3d50c257896f649724f9936bcb0e89f872e8d4d 100644 (file)
@@ -46,7 +46,7 @@
 
 #include "gromacs/mdlib/update_constrain_gpu.h"
 
-#if GMX_GPU != GMX_GPU_CUDA
+#if !GMX_GPU_CUDA
 
 namespace gmx
 {
@@ -120,4 +120,4 @@ bool UpdateConstrainGpu::isNumCoupledConstraintsSupported(const gmx_mtop_t& /* m
 
 } // namespace gmx
 
-#endif /* GMX_GPU != GMX_GPU_CUDA */
+#endif /* !GMX_GPU_CUDA */