Skip to content

Commit

Permalink
TL/UCP: poll for onesided alltoall completion (#876)
Browse files Browse the repository at this point in the history
Co-authored-by: ferrol aderholdt <[email protected]>
  • Loading branch information
wfaderhold21 and ferrol aderholdt authored Nov 15, 2023
1 parent ac37cfa commit 17fc10e
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 17fc10e

Please sign in to comment.