diff --git a/c2h/generators.cu b/c2h/generators.cu index 02d63e96fc3..453ffa53a81 100644 --- a/c2h/generators.cu +++ b/c2h/generators.cu @@ -552,10 +552,10 @@ INSTANTIATE(double); INSTANTIATE(bool); INSTANTIATE(char); -#ifdef _CCCL_HAS_NVFP16 +#if _CCCL_HAS_NVFP16() INSTANTIATE(half_t); INSTANTIATE(__half); -#endif // _CCCL_HAS_NVFP16 +#endif // _CCCL_HAS_NVFP16() #if _CCCL_HAS_NVBF16() INSTANTIATE(bfloat16_t); diff --git a/c2h/include/c2h/generators.h b/c2h/include/c2h/generators.h index 8b7a00cca64..5ac681ed4e6 100644 --- a/c2h/include/c2h/generators.h +++ b/c2h/include/c2h/generators.h @@ -37,7 +37,7 @@ #if THRUST_DEVICE_SYSTEM == THRUST_DEVICE_SYSTEM_CUDA # if _CCCL_HAS_NVFP16() # include -# endif // _CCCL_HAS_NVFP16 +# endif // _CCCL_HAS_NVFP16() # if _CCCL_HAS_NVBF16() _CCCL_DIAG_PUSH diff --git a/cub/cub/util_type.cuh b/cub/cub/util_type.cuh index b0a4300f980..358e6e6bc4a 100644 --- a/cub/cub/util_type.cuh +++ b/cub/cub/util_type.cuh @@ -964,7 +964,7 @@ struct FpLimits<__nv_bfloat16> return reinterpret_cast<__nv_bfloat16&>(lowest_word); } }; -# endif // _CCCL_HAS_NVBF16 +# endif // _CCCL_HAS_NVBF16() # if _CCCL_HAS_NVFP8() template <> diff --git a/libcudacxx/include/cuda/std/__internal/features.h b/libcudacxx/include/cuda/std/__internal/features.h index c1241b03982..80bc8dc4c21 100644 --- a/libcudacxx/include/cuda/std/__internal/features.h +++ b/libcudacxx/include/cuda/std/__internal/features.h @@ -99,7 +99,7 @@ #ifndef _LIBCUDACXX_HAS_NVBF16 # if _CCCL_HAS_NVBF16() && _CCCL_CUDACC_AT_LEAST(12, 2) # define _LIBCUDACXX_HAS_NVBF16 -# endif // _CCCL_HAS_NVBF16 && _CCCL_CUDACC_AT_LEAST(12, 2) +# endif // _CCCL_HAS_NVBF16() && _CCCL_CUDACC_AT_LEAST(12, 2) #endif // !_LIBCUDACXX_HAS_NVBF16 // NVCC does not have a way of silencing non '_' prefixed UDLs