Simplified uniform GPU selection in CMake
[alexxy/gromacs.git] / src / gromacs / nbnxm / pairlistparams.h
index 063f6dbf599a7e46277bfd113766aa268df0096c..92826f070d64cb247de959686d8ee3f91f9b855a 100644 (file)
@@ -60,7 +60,7 @@ enum class KernelType;
 static constexpr int c_nbnxnCpuIClusterSize = 4;
 
 //! The i- and j-cluster size for GPU lists, 8 atoms for CUDA, set at compile time for OpenCL
-#if GMX_GPU == GMX_GPU_OPENCL
+#if GMX_GPU_OPENCL
 static constexpr int c_nbnxnGpuClusterSize = GMX_OPENCL_NB_CLUSTER_SIZE;
 #else
 static constexpr int c_nbnxnGpuClusterSize = 8;