From f5818091c5a7090a6f4b1a2892c1908e0689c065 Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Tue, 9 Jan 2024 13:12:31 +0000 Subject: [PATCH] Minor docstring fixes --- include/rmm/cuda_device.hpp | 2 +- include/rmm/mr/device/pool_memory_resource.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/rmm/cuda_device.hpp b/include/rmm/cuda_device.hpp index 05028fe9f..ebf50d830 100644 --- a/include/rmm/cuda_device.hpp +++ b/include/rmm/cuda_device.hpp @@ -121,7 +121,7 @@ namespace detail { /** * @brief Returns the available and total device memory in bytes for the current device * - * @deprecated Use rmm::available_device_memory instead. + * @deprecated Use rmm::available_device_memory() instead. * * @return The available and total device memory in bytes for the current device as a std::pair. */ diff --git a/include/rmm/mr/device/pool_memory_resource.hpp b/include/rmm/mr/device/pool_memory_resource.hpp index 0e6f8ecbe..b30e70a65 100644 --- a/include/rmm/mr/device/pool_memory_resource.hpp +++ b/include/rmm/mr/device/pool_memory_resource.hpp @@ -110,7 +110,7 @@ class pool_memory_resource final detail::coalescing_free_list>; /** - * @brief [DEPRECATED] Construct a `pool_memory_resource` and allocate the initial device memory + * @brief Construct a `pool_memory_resource` and allocate the initial device memory * pool using `upstream_mr`. * * @deprecated Use the constructor that takes an explicit initial pool size instead. @@ -138,7 +138,7 @@ class pool_memory_resource final * @brief Construct a `pool_memory_resource` and allocate the initial device memory pool using * `upstream_mr`. * - * @deprecated Use the constructor that takes an explicit initial size instead. + * @deprecated Use the constructor that takes an explicit initial pool size instead. * * @throws rmm::logic_error if `upstream_mr == nullptr` * @throws rmm::logic_error if `initial_pool_size` is neither the default nor aligned to a