Skip to content

Commit f471851

Browse files
committed
Doc corrections.
1 parent cdfd739 commit f471851

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/rmm/device_scalar.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ class device_scalar {
4545
* @note This device_scalar is only safe to access in kernels and copies on the specified CUDA stream,
4646
* or on another stream only if a dependency is enforced (e.g. using `cudaStreamWaitEvent()`).
4747
*
48-
* @throws `rmm::bad_alloc` if allocating the device memory for `initial_value` fails.
49-
* @throws `rmm::cuda_error` if copying `initial_value` to device memory fails.
48+
* @throws `rmm::bad_alloc` if allocating the device memory fails.
5049
*
5150
* @param stream Stream on which to perform asynchronous allocation.
5251
* @param mr Optional, resource with which to allocate.
@@ -112,8 +111,8 @@ class device_scalar {
112111
*
113112
* Does not synchronize `stream`.
114113
*
115-
* @throws `rmm::cuda_error` if copying `host_value` to device memory fails
116-
* @throws `rmm::cuda_error` if synchronizing `stream` fails
114+
* @throws `rmm::cuda_error` if copying `host_value` to device memory fails.
115+
* @throws `rmm::cuda_error` if synchronizing `stream` fails.
117116
*
118117
* @param host_value The host value which will be copied to device
119118
* @param stream CUDA stream on which to perform the copy

0 commit comments

Comments
 (0)