diff --git a/cub/cub/util_cpp_dialect.cuh b/cub/cub/util_cpp_dialect.cuh index 2c5641b180d..d765b6374aa 100644 --- a/cub/cub/util_cpp_dialect.cuh +++ b/cub/cub/util_cpp_dialect.cuh @@ -51,7 +51,7 @@ # define CUB_CPP_DIALECT _CCCL_STD_VER // Define CUB_COMPILER_DEPRECATION macro: -# if _CCCL_COMPILER(MSVC) && !_CCCL_COMPILER(NVRTC) +# if _CCCL_COMPILER(MSVC) # define CUB_COMP_DEPR_IMPL(msg) _CCCL_PRAGMA(message(__FILE__ ":" _CCCL_TO_STRING(__LINE__) ": warning: " #msg)) # else // clang / gcc: # define CUB_COMP_DEPR_IMPL(msg) _CCCL_PRAGMA(GCC warning #msg) diff --git a/libcudacxx/include/cuda/std/__internal/cpp_dialect.h b/libcudacxx/include/cuda/std/__internal/cpp_dialect.h index 2d110ac526a..2fec82a7fac 100644 --- a/libcudacxx/include/cuda/std/__internal/cpp_dialect.h +++ b/libcudacxx/include/cuda/std/__internal/cpp_dialect.h @@ -21,7 +21,7 @@ #endif // no system header // Define LIBCUDACXX_COMPILER_DEPRECATION macro: -#if _CCCL_COMPILER(MSVC) && !_CCCL_COMPILER(NVRTC) +#if _CCCL_COMPILER(MSVC) # define LIBCUDACXX_COMP_DEPR_IMPL(msg) \ _CCCL_PRAGMA(message(__FILE__ ":" _CCCL_TO_STRING(__LINE__) ": warning: " #msg)) #else // ^^^ _CCCL_COMPILER(MSVC) ^^^ / vvv !_CCCL_COMPILER(MSVC) vvv diff --git a/thrust/thrust/detail/config/cpp_dialect.h b/thrust/thrust/detail/config/cpp_dialect.h index 81ef19a811c..29b9a473cc1 100644 --- a/thrust/thrust/detail/config/cpp_dialect.h +++ b/thrust/thrust/detail/config/cpp_dialect.h @@ -41,7 +41,7 @@ #define THRUST_CPP_DIALECT _CCCL_STD_VER // Define THRUST_COMPILER_DEPRECATION macro: -#if _CCCL_COMPILER(MSVC) && !_CCCL_COMPILER(NVRTC) +#if _CCCL_COMPILER(MSVC) # define THRUST_COMP_DEPR_IMPL(msg) _CCCL_PRAGMA(message(__FILE__ ":" _CCCL_TO_STRING(__LINE__) ": warning: " #msg)) #else // clang / gcc: # define THRUST_COMP_DEPR_IMPL(msg) _CCCL_PRAGMA(GCC warning #msg)