Skip to content

Commit c17db22

Browse files
authored
Merge pull request openucx#8638 from Sergei-Lebedev/topic/fix_tag_recv_nbx_typo
UCP/API: fixed typo in tag_recv_nbx
2 parents f848eea + 36b644e commit c17db22

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/ucp/api/ucp.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,19 +145,19 @@ enum ucp_feature {
145145
UCP_FEATURE_RMA = UCS_BIT(1),
146146

147147
/** Request 32-bit atomic operations support */
148-
UCP_FEATURE_AMO32 = UCS_BIT(2),
148+
UCP_FEATURE_AMO32 = UCS_BIT(2),
149149

150150
/** Request 64-bit atomic operations support */
151-
UCP_FEATURE_AMO64 = UCS_BIT(3),
151+
UCP_FEATURE_AMO64 = UCS_BIT(3),
152152

153153
/** Request interrupt notification support */
154-
UCP_FEATURE_WAKEUP = UCS_BIT(4),
154+
UCP_FEATURE_WAKEUP = UCS_BIT(4),
155155

156156
/** Request stream support */
157157
UCP_FEATURE_STREAM = UCS_BIT(5),
158158

159159
/** Request Active Message support */
160-
UCP_FEATURE_AM = UCS_BIT(6),
160+
UCP_FEATURE_AM = UCS_BIT(6),
161161

162162
/**
163163
* Request support mapping a peer's memory handle that was created by
@@ -648,14 +648,14 @@ enum ucp_send_am_flags {
648648
*/
649649
UCP_AM_SEND_FLAG_RNDV = UCS_BIT(2),
650650

651-
/**
651+
/**
652652
* The flag indicates that the header should be copied to an internal buffer
653653
* in case it's needed after the send function returns. If this flag is
654654
* specified, the header can be released immediately after the send
655655
* function returns, even if the non-blocking send request is not completed.
656-
*/
656+
*/
657657
UCP_AM_SEND_FLAG_COPY_HEADER = UCS_BIT(3),
658-
658+
659659
/**
660660
* Backward compatibility.
661661
*/
@@ -3201,7 +3201,7 @@ ucs_status_t ucp_worker_set_am_recv_handler(ucp_worker_h worker,
32013201
* By default the header must be valid until
32023202
* the active message send operation completes.
32033203
* If the flag @ref UCP_AM_SEND_FLAG_COPY_HEADER
3204-
* is specified, the header is only required to be
3204+
* is specified, the header is only required to be
32053205
* valid until this function call returns.
32063206
* @param [in] header_length Active message header length in bytes.
32073207
* @param [in] buffer Pointer to the data to be sent to the target node
@@ -3411,7 +3411,7 @@ ucs_status_ptr_t ucp_tag_send_sync_nbx(ucp_ep_h ep, const void *buffer,
34113411
* size @a count object on the endpoint @a ep. The routine is non-blocking
34123412
* and therefore returns immediately. The receive operation is considered
34133413
* complete when the message is delivered to the buffer. If the receive
3414-
* operation cannot be started, the routine returns an error.
3414+
* operation cannot be started, then the routine returns an error.
34153415
*
34163416
* @param [in] ep UCP endpoint that is used for the receive operation.
34173417
* @param [in] buffer Pointer to the buffer that will receive the data.
@@ -3490,7 +3490,7 @@ ucs_status_ptr_t ucp_stream_recv_data_nb(ucp_ep_h ep, size_t *length);
34903490
* buffer. In order to notify the application about completion of the receive
34913491
* operation the UCP library will invoke the call-back @a cb when the received
34923492
* message is in the receive buffer and ready for application access. If the
3493-
* receive operation cannot be stated the routine returns an error.
3493+
* receive operation cannot be started, then the routine returns an error.
34943494
*
34953495
* @param [in] worker UCP worker that is used for the receive operation.
34963496
* @param [in] buffer Pointer to the buffer to receive the data.
@@ -3577,7 +3577,7 @@ ucp_tag_message_h ucp_tag_probe_nb(ucp_worker_h worker, ucp_tag_t tag,
35773577
* is delivered to the @a buffer. In order to notify the application about
35783578
* completion of the receive operation the UCP library will invoke the
35793579
* call-back @a cb when the received message is in the receive buffer and ready
3580-
* for application access. If the receive operation cannot be started the
3580+
* for application access. If the receive operation cannot be started, then the
35813581
* routine returns an error.
35823582
*
35833583
* @param [in] worker UCP worker that is used for the receive operation.

0 commit comments

Comments
 (0)