Function ucp_get

Source
pub unsafe extern "C" fn ucp_get(
    ep: ucp_ep_h,
    buffer: *mut c_void,
    length: size_t,
    remote_addr: u64,
    rkey: ucp_rkey_h,
) -> ucs_status_t
Expand description

@ingroup UCP_COMM @brief Blocking remote memory get operation. @deprecated Replaced by @ref ucp_get_nb. @see ucp_put.

This routine loads contiguous block of data that is described by the remote address @a remote_addr and the @ref ucp_rkey_h “memory handle” @a rkey in the local contiguous memory region described by @a buffer address. The routine returns when remote data is loaded and stored under the local address @e buffer.

@param [in] ep Remote endpoint handle. @param [in] buffer Pointer to the local source address. @param [in] length Length of the data (in bytes) stored under the source address. @param [in] remote_addr Pointer to the destination remote address to write to. @param [in] rkey Remote memory key associated with the remote address.

@return Error code as defined by @ref ucs_status_t