diff --git a/libcudacxx/include/cuda/__cmath/ceil_div.h b/libcudacxx/include/cuda/__cmath/ceil_div.h index ce084ff41b..769e063ed9 100644 --- a/libcudacxx/include/cuda/__cmath/ceil_div.h +++ b/libcudacxx/include/cuda/__cmath/ceil_div.h @@ -35,6 +35,10 @@ _LIBCUDACXX_BEGIN_NAMESPACE_CUDA +//! @brief Divides two numbers \p __a and \p __b, rounding up if there is a remainder +//! @param __a The dividend +//! @param __b The divisor +//! @pre \p __a must be non-negative template = 0, @@ -58,6 +62,10 @@ _CCCL_NODISCARD _LIBCUDACXX_HIDE_FROM_ABI _CCCL_CONSTEXPR_CXX14 _Tp ceil_div(con _LIBCUDACXX_UNREACHABLE(); } +//! @brief Divides two numbers \p __a and \p __b, rounding up if there is a remainder +//! @param __a The dividend +//! @param __b The divisor +//! @pre \p __a must be non-negative template = 0,