diff --git a/libcudacxx/include/cuda/std/__cccl/extended_data_types.h b/libcudacxx/include/cuda/std/__cccl/extended_data_types.h index c8c7bb3dc16..86f8e087f4a 100644 --- a/libcudacxx/include/cuda/std/__cccl/extended_data_types.h +++ b/libcudacxx/include/cuda/std/__cccl/extended_data_types.h @@ -56,7 +56,7 @@ # define _CCCL_HAS_NVFP8() 1 #else # define _CCCL_HAS_NVFP8() 0 -#endif // _CCCL_HAS_INCLUDE() && _CCCL_HAS_NVFP16() && _CCCL_HAS_NVBF16() +#endif // _CCCL_HAS_INCLUDE() && _CCCL_HAS_NVFP16() && _CCCL_HAS_NVBF16() && !defined(CCCL_DISABLE_NVFP8_SUPPORT) #if !defined(CCCL_DISABLE_FLOAT128_SUPPORT) # if _CCCL_COMPILER(NVRTC) && defined(__CUDACC_RTC_FLOAT128__) && _CCCL_OS(LINUX)