Skip to content

Commit cd40003

Browse files
committed
Remove unnecessary (and incorrect) dynamic window checking for rget/rput
Signed-off-by: Shumpei Shiina <shiina@eidos.ic.i.u-tokyo.ac.jp>
1 parent 60e44f3 commit cd40003

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ompi/mca/osc/ucx/osc_ucx_comm.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,6 @@ static inline int ompi_osc_ucx_acc_rputget(void *stage_addr, int stage_count,
843843
ompi_osc_ucx_accumulate_request_t *ucx_req = NULL;
844844
bool sync_check;
845845
int ret = OMPI_SUCCESS;
846-
CHECK_DYNAMIC_WIN(remote_addr, module, target, ret);
847846

848847
if (acc_type != NONE) {
849848
OMPI_OSC_UCX_ACCUMULATE_REQUEST_ALLOC(win, ucx_req);
@@ -1394,8 +1393,6 @@ int ompi_osc_ucx_rput(const void *origin_addr, int origin_count,
13941393
return ret;
13951394
}
13961395

1397-
CHECK_DYNAMIC_WIN(remote_addr, module, target, ret);
1398-
13991396
ret = ompi_osc_ucx_put(origin_addr, origin_count, origin_dt, target, target_disp,
14001397
target_count, target_dt, win);
14011398
if (ret != OMPI_SUCCESS) {
@@ -1450,8 +1447,6 @@ int ompi_osc_ucx_rget(void *origin_addr, int origin_count,
14501447
return ret;
14511448
}
14521449

1453-
CHECK_DYNAMIC_WIN(remote_addr, module, target, ret);
1454-
14551450
ret = ompi_osc_ucx_get(origin_addr, origin_count, origin_dt, target, target_disp,
14561451
target_count, target_dt, win);
14571452
if (ret != OMPI_SUCCESS) {

0 commit comments

Comments
 (0)