File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments