Skip to content

Commit c4e48de

Browse files
committed
addressing doc comments
Signed-off-by: niranda perera <niranda.perera@gmail.com>
1 parent bfd862e commit c4e48de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cpp/include/rapidsmpf/buffer/pinned_memory_resource.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class PinnedHostBuffer {
295295

296296
/**
297297
* @brief Constructs a pinned host buffer by copying data asynchronously from another
298-
* buffer on the same stream.
298+
* buffer on the same stream as @p other.
299299
*
300300
* @tparam OtherBufferT The type of the other buffer to copy from. Eg.
301301
* `rmm::device_buffer` or `PinnedHostBuffer`.
@@ -379,6 +379,9 @@ class PinnedHostBuffer {
379379
/**
380380
* @brief Sets the CUDA stream for this buffer.
381381
*
382+
* @note This operation does not synchronize current `stream_` before setting the
383+
* @p stream.
384+
*
382385
* @param stream The new CUDA stream to use for memory operations.
383386
*/
384387
constexpr void set_stream(rmm::cuda_stream_view stream) noexcept {

0 commit comments

Comments
 (0)