diff --git a/include/gridtools/common/defs.hpp b/include/gridtools/common/defs.hpp index eb28d08db..53fbf4615 100644 --- a/include/gridtools/common/defs.hpp +++ b/include/gridtools/common/defs.hpp @@ -52,8 +52,8 @@ namespace gridtools { #define GT_NVCC_DIAG_POP_SUPPRESS(x) #endif -#if defined(__NVCC__) && (__CUDACC_VER_MAJOR__ == 12 && __CUDACC_VER_MINOR__ >= 1 && __CUDACC_VER_MINOR__ <= 2) -// enables workaround for CTAD/constexpr issues in CUDA 12.1, 12.2 (https://github.com/GridTools/gridtools/issues/1766) +#if defined(__NVCC__) && (__CUDACC_VER_MAJOR__ == 12 && __CUDACC_VER_MINOR__ >= 1 && __CUDACC_VER_MINOR__ <= 3) +// enables workaround for CTAD/constexpr issues in CUDA 12.1, 12.2, 12.3 (https://github.com/GridTools/gridtools/issues/1766) #define GT_NVCC_WORKAROUND_1766 1 #else #define GT_NVCC_WORKAROUND_1766 0