diff --git a/README.md b/README.md index eab74439c6..23f7b6250d 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,19 @@ The thread block uses these storage types to statically allocate the union of shared memory needed by the thread block. (Alternatively these storage types could be aliased to global memory allocations). +

+

Supported Compilers

+ +CUB is regularly tested using the specified versions of the following +compilers. Unsupported versions may emit deprecation warnings, which can be +silenced by defining CUB_IGNORE_DEPRECATED_COMPILER during compilation. + +- NVCC 11.0+ +- NVC++ 20.9+ +- GCC 5+ +- Clang 7+ +- MSVC 2019+ (19.20/16.0/14.20) +

Releases

diff --git a/cub/util_cpp_dialect.cuh b/cub/util_cpp_dialect.cuh index b4cbe92373..7e179a97fe 100644 --- a/cub/util_cpp_dialect.cuh +++ b/cub/util_cpp_dialect.cuh @@ -109,18 +109,18 @@ #endif #define CUB_COMPILER_DEPRECATION(REQ, FIX) \ - CUB_COMP_DEPR_IMPL(CUB requires REQ. Please FIX. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.) + CUB_COMP_DEPR_IMPL(CUB requires at least REQ. Please FIX. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.) // Minimum required compiler checks: #ifndef CUB_IGNORE_DEPRECATED_COMPILER # if CUB_HOST_COMPILER == CUB_HOST_COMPILER_GCC && CUB_GCC_VERSION < 50000 CUB_COMPILER_DEPRECATION(GCC 5.0, upgrade your compiler); # endif -# if CUB_HOST_COMPILER == CUB_HOST_COMPILER_CLANG && CUB_CLANG_VERSION < 60000 - CUB_COMPILER_DEPRECATION(Clang 6.0, upgrade your compiler); +# if CUB_HOST_COMPILER == CUB_HOST_COMPILER_CLANG && CUB_CLANG_VERSION < 70000 + CUB_COMPILER_DEPRECATION(Clang 7.0, upgrade your compiler); # endif -# if CUB_HOST_COMPILER == CUB_HOST_COMPILER_MSVC && CUB_MSVC_VERSION < 1910 - CUB_COMPILER_DEPRECATION(MSVC 2017, upgrade your compiler); +# if CUB_HOST_COMPILER == CUB_HOST_COMPILER_MSVC && CUB_MSVC_VERSION < 1920 + CUB_COMPILER_DEPRECATION(MSVC 2019 (19.20/16.0/14.20), upgrade your compiler); # endif #endif