@@ -457,7 +457,7 @@ static int do_atomic_op_intrinsic(
457457 uint64_t value = 0 ;
458458 if ((count - 1 ) == i && NULL != ucx_req ) {
459459 // the last item is used to feed the request, if needed
460- user_req_cb = & req_completion ;
460+ user_req_cb = & ompi_osc_ucx_req_completion ;
461461 user_req_ptr = ucx_req ;
462462 // issue a fence if this is the last but not the only element
463463 if (0 < i ) {
@@ -1130,7 +1130,7 @@ int ompi_osc_ucx_rput(const void *origin_addr, int origin_count,
11301130 ucx_req -> super .module = module ;
11311131
11321132 OSC_UCX_INCREMENT_OUTSTANDING_NB_OPS (module );
1133- ret = opal_common_ucx_wpmem_flush_ep_nb (mem , target , req_completion , ucx_req , ep );
1133+ ret = opal_common_ucx_wpmem_flush_ep_nb (mem , target , ompi_osc_ucx_req_completion , ucx_req , ep );
11341134
11351135 if (ret != OMPI_SUCCESS ) {
11361136 /* fallback to using an atomic op to acquire a request handle */
@@ -1144,7 +1144,7 @@ int ompi_osc_ucx_rput(const void *origin_addr, int origin_count,
11441144 ret = opal_common_ucx_wpmem_fetch_nb (mem , UCP_ATOMIC_FETCH_OP_FADD ,
11451145 0 , target , & (module -> req_result ),
11461146 sizeof (uint64_t ), remote_addr & (~0x7 ),
1147- req_completion , ucx_req , ep );
1147+ ompi_osc_ucx_req_completion , ucx_req , ep );
11481148 if (ret != OMPI_SUCCESS ) {
11491149 OMPI_OSC_UCX_REQUEST_RETURN (ucx_req );
11501150 return ret ;
@@ -1186,7 +1186,7 @@ int ompi_osc_ucx_rget(void *origin_addr, int origin_count,
11861186 ucx_req -> super .module = module ;
11871187
11881188 OSC_UCX_INCREMENT_OUTSTANDING_NB_OPS (module );
1189- ret = opal_common_ucx_wpmem_flush_ep_nb (mem , target , req_completion , ucx_req , ep );
1189+ ret = opal_common_ucx_wpmem_flush_ep_nb (mem , target , ompi_osc_ucx_req_completion , ucx_req , ep );
11901190
11911191 if (ret != OMPI_SUCCESS ) {
11921192 /* fallback to using an atomic op to acquire a request handle */
@@ -1200,7 +1200,7 @@ int ompi_osc_ucx_rget(void *origin_addr, int origin_count,
12001200 ret = opal_common_ucx_wpmem_fetch_nb (mem , UCP_ATOMIC_FETCH_OP_FADD ,
12011201 0 , target , & (module -> req_result ),
12021202 sizeof (uint64_t ), remote_addr & (~0x7 ),
1203- req_completion , ucx_req , ep );
1203+ ompi_osc_ucx_req_completion , ucx_req , ep );
12041204 if (ret != OMPI_SUCCESS ) {
12051205 OMPI_OSC_UCX_REQUEST_RETURN (ucx_req );
12061206 return ret ;
@@ -1347,7 +1347,7 @@ static inline int ompi_osc_ucx_acc_rputget(void *stage_addr, int stage_count,
13471347 module -> skip_sync_check = sync_check ;
13481348 if (acc_type != NONE ) {
13491349 OSC_UCX_INCREMENT_OUTSTANDING_NB_OPS (module );
1350- ret = opal_common_ucx_wpmem_flush_ep_nb (mem , target , req_completion , ucx_req , ep );
1350+ ret = opal_common_ucx_wpmem_flush_ep_nb (mem , target , ompi_osc_ucx_req_completion , ucx_req , ep );
13511351
13521352 if (ret != OMPI_SUCCESS ) {
13531353 /* fallback to using an atomic op to acquire a request handle */
@@ -1360,7 +1360,7 @@ static inline int ompi_osc_ucx_acc_rputget(void *stage_addr, int stage_count,
13601360 ret = opal_common_ucx_wpmem_fetch_nb (mem , UCP_ATOMIC_FETCH_OP_FADD ,
13611361 0 , target , & (module -> req_result ),
13621362 sizeof (uint64_t ), remote_addr & (~0x7 ),
1363- req_completion , ucx_req , ep );
1363+ ompi_osc_ucx_req_completion , ucx_req , ep );
13641364 if (ret != OMPI_SUCCESS ) {
13651365 OMPI_OSC_UCX_REQUEST_RETURN (ucx_req );
13661366 return ret ;
@@ -1477,7 +1477,7 @@ static int ompi_osc_ucx_get_accumulate_nonblocking(const void *origin_addr, int
14771477 return ret ;
14781478}
14791479
1480- void req_completion (void * request ) {
1480+ void ompi_osc_ucx_req_completion (void * request ) {
14811481 ompi_osc_ucx_generic_request_t * ucx_req = (ompi_osc_ucx_generic_request_t * )request ;
14821482 int ret = OMPI_SUCCESS ;
14831483 ompi_osc_ucx_module_t * module = ucx_req -> super .module ;
0 commit comments