Skip to content

Commit

Permalink
TL/UCP: poll for onesided alltoall completion (openucx#876)
Browse files Browse the repository at this point in the history
Co-authored-by: ferrol aderholdt <faderholdt@nvidia.com>
  • Loading branch information
2 people authored and janjust committed Jan 31, 2024
1 parent 46a6e56 commit 177a0df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/tl/ucp/alltoall/alltoall_onesided.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ void ucc_tl_ucp_alltoall_onesided_progress(ucc_coll_task_t *ctask)
ucc_rank_t gsize = UCC_TL_TEAM_SIZE(team);
long * pSync = TASK_ARGS(task).global_work_buffer;

if ((*pSync < gsize) ||
(task->onesided.put_completed < task->onesided.put_posted)) {
ucp_worker_progress(UCC_TL_UCP_TEAM_CTX(team)->worker.ucp_worker);
if (ucc_tl_ucp_test_onesided(task, gsize) == UCC_INPROGRESS) {
return;
}

Expand Down

0 comments on commit 177a0df

Please sign in to comment.