UCX  1.5
Unified Communication X
Deprecated List
globalScope> Global ucp_atomic_add32 (ucp_ep_h ep, uint32_t add, uint64_t remote_addr, ucp_rkey_h rkey)
Replaced by ucp_atomic_post with opcode UCP_ATOMIC_POST_OP_ADD.
See also
ucp_put.
globalScope> Global ucp_atomic_add64 (ucp_ep_h ep, uint64_t add, uint64_t remote_addr, ucp_rkey_h rkey)
Replaced by ucp_atomic_post with opcode UCP_ATOMIC_POST_OP_ADD.
See also
ucp_put.
globalScope> Global ucp_atomic_cswap32 (ucp_ep_h ep, uint32_t compare, uint32_t swap, uint64_t remote_addr, ucp_rkey_h rkey, uint32_t *result)
Replaced by ucp_atomic_fetch_nb with opcode UCP_ATOMIC_FETCH_OP_CSWAP.
See also
ucp_put.
globalScope> Global ucp_atomic_cswap64 (ucp_ep_h ep, uint64_t compare, uint64_t swap, uint64_t remote_addr, ucp_rkey_h rkey, uint64_t *result)
Replaced by ucp_atomic_fetch_nb with opcode UCP_ATOMIC_FETCH_OP_CSWAP.
See also
ucp_put.
globalScope> Global ucp_atomic_fadd32 (ucp_ep_h ep, uint32_t add, uint64_t remote_addr, ucp_rkey_h rkey, uint32_t *result)
Replaced by ucp_atomic_fetch_nb with opcode UCP_ATOMIC_FETCH_OP_FADD.
See also
ucp_put.
globalScope> Global ucp_atomic_fadd64 (ucp_ep_h ep, uint64_t add, uint64_t remote_addr, ucp_rkey_h rkey, uint64_t *result)
Replaced by ucp_atomic_fetch_nb with opcode UCP_ATOMIC_FETCH_OP_FADD.
See also
ucp_put.
globalScope> Global ucp_atomic_swap32 (ucp_ep_h ep, uint32_t swap, uint64_t remote_addr, ucp_rkey_h rkey, uint32_t *result)
Replaced by ucp_atomic_fetch_nb with opcode UCP_ATOMIC_FETCH_OP_SWAP.
See also
ucp_put.
globalScope> Global ucp_atomic_swap64 (ucp_ep_h ep, uint64_t swap, uint64_t remote_addr, ucp_rkey_h rkey, uint64_t *result)
Replaced by ucp_atomic_fetch_nb with opcode UCP_ATOMIC_FETCH_OP_SWAP.
See also
ucp_put.
globalScope> Global ucp_disconnect_nb (ucp_ep_h ep)
Replaced by ucp_ep_close_nb.
globalScope> Global ucp_ep_destroy (ucp_ep_h ep)
Replaced by ucp_ep_close_nb.
globalScope> Global ucp_ep_flush (ucp_ep_h ep)
Replaced by ucp_ep_flush_nb.
globalScope> Global ucp_ep_modify_nb (ucp_ep_h ep, const ucp_ep_params_t *params)
Use ucp_listener_conn_handler_t instead of ucp_listener_accept_handler_t, if you have other use case please submit an issue on https://github.com/openucx/ucx or report to ucx-g.nosp@m.roup.nosp@m.@elis.nosp@m.t.or.nosp@m.nl.go.nosp@m.v
globalScope> Global ucp_get (ucp_ep_h ep, void *buffer, size_t length, uint64_t remote_addr, ucp_rkey_h rkey)
Replaced by ucp_get_nb.
See also
ucp_put.
globalScope> Global ucp_listener_accept_handler_t
Replaced by ucp_listener_conn_handler_t.
globalScope> Global ucp_listener_accept_handler_t
Replaced by ucp_listener_conn_handler_t.
globalScope> Global ucp_put (ucp_ep_h ep, const void *buffer, size_t length, uint64_t remote_addr, ucp_rkey_h rkey)
Replaced by ucp_put_nb. The following example implements the same functionality using ucp_put_nb :
1 void empty_callback(void *request, ucs_status_t status)
2 {
3 }
4 
5 ucs_status_t put(ucp_ep_h ep, const void *buffer, size_t length,
6  uint64_t remote_addr, ucp_rkey_h rkey)
7 {
8  void *request = ucp_put_nb(ep, buffer, length, remote_addr, rkey,
9  empty_callback),
10  if (request == NULL) {
11  return UCS_OK;
12  } else if (UCS_PTR_IS_ERR(request)) {
13  return UCS_PTR_STATUS(request);
14  } else {
15  ucs_status_t status;
16  do {
17  ucp_worker_progress(worker);
18  status = ucp_request_check_status(request);
19  } while (status == UCS_INPROGRESS);
20  ucp_request_release(request);
21  return status;
22  }
23 }
globalScope> Global ucp_request_is_completed (void *request)
Replaced by ucp_request_test.
globalScope> Global ucp_request_release (void *request)
Replaced by ucp_request_free.
globalScope> Global ucp_request_test (void *request, ucp_tag_recv_info_t *info)
Replaced by ucp_tag_recv_request_test and ucp_request_check_status depends on use case.
globalScope> Global ucp_worker_flush (ucp_worker_h worker)
Replaced by ucp_worker_flush_nb. The following example implements the same functionality using ucp_worker_flush_nb :
1 ucs_status_t worker_flush(ucp_worker_h worker)
2 {
3  void *request = ucp_worker_flush_nb(worker);
4  if (request == NULL) {
5  return UCS_OK;
6  } else if (UCS_PTR_IS_ERR(request)) {
7  return UCS_PTR_STATUS(request);
8  } else {
9  ucs_status_t status;
10  do {
11  ucp_worker_progress(worker);
12  status = ucp_request_check_status(request);
13  } while (status == UCS_INPROGRESS);
14  ucp_request_release(request);
15  return status;
16  }
17 }