Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / gromacs / mdlib / tests / settletestrunners.cu
index ddb8e04b633012241d65d9205ae6af378e0edc5b..f9cf9867f392938203f0ee369fc563c1e442d11b 100644 (file)
@@ -80,8 +80,7 @@ void applySettleGpu(SettleTestData*  testData,
 {
     // These should never fail since this function should only be called if CUDA is enabled and
     // there is a CUDA-capable device available.
-    GMX_RELEASE_ASSERT(GMX_GPU == GMX_GPU_CUDA,
-                       "CUDA version of SETTLE was called from non-CUDA build.");
+    GMX_RELEASE_ASSERT(GMX_GPU_CUDA, "CUDA version of SETTLE was called from non-CUDA build.");
 
     // TODO: Here we should check that at least 1 suitable GPU is available
     GMX_RELEASE_ASSERT(canPerformGpuDetection(), "Can't detect CUDA-capable GPUs.");