Skip to content

Commit

Permalink
Remove unnecessary (and incorrect) dynamic window checking for rget/rput
Browse files Browse the repository at this point in the history
Signed-off-by: Shumpei Shiina <[email protected]>
(cherry picked from commit cd40003)
  • Loading branch information
s417-lama committed Nov 29, 2022
1 parent a9ff6bc commit 1a25196
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ompi/mca/osc/ucx/osc_ucx_comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,6 @@ static inline int ompi_osc_ucx_acc_rputget(void *stage_addr, int stage_count,
ompi_osc_ucx_accumulate_request_t *ucx_req = NULL;
bool sync_check;
int ret = OMPI_SUCCESS;
CHECK_DYNAMIC_WIN(remote_addr, module, target, ret);

if (acc_type != NONE) {
OMPI_OSC_UCX_ACCUMULATE_REQUEST_ALLOC(win, ucx_req);
Expand Down Expand Up @@ -1394,8 +1393,6 @@ int ompi_osc_ucx_rput(const void *origin_addr, int origin_count,
return ret;
}

CHECK_DYNAMIC_WIN(remote_addr, module, target, ret);

ret = ompi_osc_ucx_put(origin_addr, origin_count, origin_dt, target, target_disp,
target_count, target_dt, win);
if (ret != OMPI_SUCCESS) {
Expand Down Expand Up @@ -1450,8 +1447,6 @@ int ompi_osc_ucx_rget(void *origin_addr, int origin_count,
return ret;
}

CHECK_DYNAMIC_WIN(remote_addr, module, target, ret);

ret = ompi_osc_ucx_get(origin_addr, origin_count, origin_dt, target, target_disp,
target_count, target_dt, win);
if (ret != OMPI_SUCCESS) {
Expand Down

0 comments on commit 1a25196

Please sign in to comment.