Function ucp_atomic_post

Source
pub unsafe extern "C" fn ucp_atomic_post(
    ep: ucp_ep_h,
    opcode: ucp_atomic_post_op_t,
    value: u64,
    op_size: size_t,
    remote_addr: u64,
    rkey: ucp_rkey_h,
) -> ucs_status_t
Expand description

@ingroup UCP_COMM @brief Post an atomic memory operation.

This routine posts an atomic memory operation to a remote value. The remote value is described by the combination of the remote memory address @a remote_addr and the @ref ucp_rkey_h “remote memory handle” @a rkey. Return from the function does not guarantee completion. A user must call @ref ucp_ep_flush_nb or @ref ucp_worker_flush_nb to guarantee that the remote value has been updated.

@param [in] ep UCP endpoint. @param [in] opcode One of @ref ucp_atomic_post_op_t. @param [in] value Source operand for the atomic operation. @param [in] op_size Size of value in bytes @param [in] remote_addr Remote address to operate on. @param [in] rkey Remote key handle for the remote memory address.

@return Error code as defined by @ref ucs_status_t