@@ -998,6 +998,7 @@ int ompi_osc_ucx_rput(const void *origin_addr, int origin_count,
998
998
sizeof (uint64_t ), remote_addr ,
999
999
req_completion , ucx_req );
1000
1000
if (ret != OMPI_SUCCESS ) {
1001
+ OMPI_OSC_UCX_REQUEST_RETURN (ucx_req );
1001
1002
return ret ;
1002
1003
}
1003
1004
@@ -1049,6 +1050,7 @@ int ompi_osc_ucx_rget(void *origin_addr, int origin_count,
1049
1050
sizeof (uint64_t ), remote_addr ,
1050
1051
req_completion , ucx_req );
1051
1052
if (ret != OMPI_SUCCESS ) {
1053
+ OMPI_OSC_UCX_REQUEST_RETURN (ucx_req );
1052
1054
return ret ;
1053
1055
}
1054
1056
@@ -1077,6 +1079,7 @@ int ompi_osc_ucx_raccumulate(const void *origin_addr, int origin_count,
1077
1079
ret = ompi_osc_ucx_accumulate (origin_addr , origin_count , origin_dt , target , target_disp ,
1078
1080
target_count , target_dt , op , win );
1079
1081
if (ret != OMPI_SUCCESS ) {
1082
+ OMPI_OSC_UCX_REQUEST_RETURN (ucx_req );
1080
1083
return ret ;
1081
1084
}
1082
1085
@@ -1111,6 +1114,7 @@ int ompi_osc_ucx_rget_accumulate(const void *origin_addr, int origin_count,
1111
1114
target , target_disp , target_count ,
1112
1115
target_datatype , op , win );
1113
1116
if (ret != OMPI_SUCCESS ) {
1117
+ OMPI_OSC_UCX_REQUEST_RETURN (ucx_req );
1114
1118
return ret ;
1115
1119
}
1116
1120
0 commit comments