@@ -867,19 +867,19 @@ int mca_pml_ucx_isend(const void *buf, size_t count, ompi_datatype_t *datatype,
867
867
static inline __opal_attribute_always_inline__ int
868
868
mca_pml_ucx_send_nb (ucp_ep_h ep , const void * buf , size_t count ,
869
869
ompi_datatype_t * datatype , ucp_datatype_t ucx_datatype ,
870
- ucp_tag_t tag , mca_pml_base_send_mode_t mode ,
871
- ucp_send_callback_t cb )
870
+ ucp_tag_t tag , mca_pml_base_send_mode_t mode )
872
871
{
873
872
ompi_request_t * req ;
874
873
875
874
req = (ompi_request_t * )mca_pml_ucx_common_send (ep , buf , count , datatype ,
876
875
mca_pml_ucx_get_datatype (datatype ),
877
- tag , mode , cb );
876
+ tag , mode ,
877
+ mca_pml_ucx_send_completion_empty );
878
878
if (OPAL_LIKELY (req == NULL )) {
879
879
return OMPI_SUCCESS ;
880
880
} else if (!UCS_PTR_IS_ERR (req )) {
881
881
PML_UCX_VERBOSE (8 , "got request %p" , (void * )req );
882
- MCA_COMMON_UCX_WAIT_LOOP (req , ompi_pml_ucx .ucp_worker , "ucx send" , ompi_request_free ( & req ));
882
+ MCA_COMMON_UCX_WAIT_LOOP (req , ompi_pml_ucx .ucp_worker , "ucx send" , ucp_request_free ( req ));
883
883
} else {
884
884
PML_UCX_ERROR ("ucx send failed: %s" , ucs_status_string (UCS_PTR_STATUS (req )));
885
885
return OMPI_ERROR ;
@@ -957,8 +957,7 @@ int mca_pml_ucx_send(const void *buf, size_t count, ompi_datatype_t *datatype, i
957
957
958
958
return mca_pml_ucx_send_nb (ep , buf , count , datatype ,
959
959
mca_pml_ucx_get_datatype (datatype ),
960
- PML_UCX_MAKE_SEND_TAG (tag , comm ), mode ,
961
- mca_pml_ucx_send_completion );
960
+ PML_UCX_MAKE_SEND_TAG (tag , comm ), mode );
962
961
}
963
962
964
963
int mca_pml_ucx_iprobe (int src , int tag , struct ompi_communicator_t * comm ,
0 commit comments