Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / gromacs / domdec / gpuhaloexchange_impl.cpp
index 247c65b4e03959d02b4be10e3124d92a477b1f56..a6a0915fc789fcd26ea847971a201bcf060e7e88 100644 (file)
@@ -49,7 +49,7 @@
 
 #include "gromacs/domdec/gpuhaloexchange.h"
 
-#if GMX_GPU != GMX_GPU_CUDA
+#if !GMX_GPU_CUDA
 
 namespace gmx
 {
@@ -109,4 +109,4 @@ GpuEventSynchronizer* GpuHaloExchange::getForcesReadyOnDeviceEvent()
 
 } // namespace gmx
 
-#endif /* GMX_GPU != GMX_GPU_CUDA */
+#endif // !GMX_GPU_CUDA