#include "config.h"
-#if GMX_GPU == GMX_GPU_CUDA
+#if GMX_GPU_CUDA
# include "gromacs/gpu_utils/cuda_arch_utils.cuh" // for warp_size
#endif
//! Gathering max block width in warps - picked empirically among 2, 4, 8, 16 for max. occupancy and min. runtime
constexpr int c_gatherMaxWarpsPerBlock = 4;
-#if GMX_GPU == GMX_GPU_CUDA
+#if GMX_GPU_CUDA
/* All the fields below are dependent on warp_size and should
* ideally be removed from the device-side code, as we have to
* do that for OpenCL already.
//! Gathering min blocks per CUDA multiprocessor
static constexpr int c_gatherMinBlocksPerMP = GMX_CUDA_MAX_THREADS_PER_MP / c_gatherMaxThreadsPerBlock;
-#endif // GMX_GPU == GMX_GPU_CUDA
+#endif // GMX_GPU_CUDA
#endif