@@ -133,6 +133,10 @@ UCS_F_DEVICE ucs_status_t ucp_device_prepare_send(
133133 * @param [in] flags Flags usable to modify the function behavior.
134134 * @param [out] req Request populated by the call.
135135 *
136+ * @return UCS_INPROGRESS - Operation successfully posted. If @a req is not
137+ * NULL, use @ref ucp_device_progress_req to check
138+ * for completion.
139+ * @return UCS_OK - Operation completed successfully.
136140 * @return Error code as defined by @ref ucs_status_t
137141 */
138142template <ucs_device_level_t level = UCS_DEVICE_LEVEL_THREAD>
@@ -188,6 +192,10 @@ UCS_F_DEVICE ucs_status_t ucp_device_put_single(
188192 * @param [in] flags Flags usable to modify the function behavior.
189193 * @param [out] req Request populated by the call.
190194 *
195+ * @return UCS_INPROGRESS - Operation successfully posted. If @a req is not
196+ * NULL, use @ref ucp_device_progress_req to check
197+ * for completion.
198+ * @return UCS_OK - Operation completed successfully.
191199 * @return Error code as defined by @ref ucs_status_t
192200 */
193201template <ucs_device_level_t level = UCS_DEVICE_LEVEL_THREAD>
@@ -243,6 +251,11 @@ UCS_F_DEVICE ucs_status_t ucp_device_counter_inc(
243251 * @param [in] flags Flags to modify the function behavior.
244252 * @param [out] req Request populated by the call.
245253 *
254+ * @return UCS_INPROGRESS - Operation successfully posted. If @a req
255+ * is not NULL, use @ref
256+ * ucp_device_progress_req to check for
257+ * completion.
258+ * @return UCS_OK - Operation completed successfully.
246259 * @return Error code as defined by @ref ucs_status_t
247260 */
248261template <ucs_device_level_t level = UCS_DEVICE_LEVEL_THREAD>
@@ -321,6 +334,11 @@ UCS_F_DEVICE ucs_status_t ucp_device_put_multi(
321334 * @param [in] flags Flags to modify the function behavior.
322335 * @param [out] req Request populated by the call.
323336 *
337+ * @return UCS_INPROGRESS - Operation successfully posted. If @a req
338+ * is not NULL, use @ref
339+ * ucp_device_progress_req to check for
340+ * completion.
341+ * @return UCS_OK - Operation completed successfully.
324342 * @return Error code as defined by @ref ucs_status_t
325343 */
326344template <ucs_device_level_t level = UCS_DEVICE_LEVEL_THREAD>
@@ -410,7 +428,7 @@ UCS_F_DEVICE void ucp_device_counter_write(void *counter_ptr, uint64_t value)
410428 *
411429 * @tparam level Level of cooperation of the transfer.
412430 * @param [in] req Request containing operations in progress and channel to progress.
413- *
431+ *
414432 * @return UCS_OK - The request has completed, no more operations are
415433 * in progress.
416434 * @return UCS_INPROGRESS - One or more operations in the request batch
0 commit comments