Skip to content

TL/UCP: add linear alltoall(v) #1116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sergei-Lebedev
Copy link
Contributor

What

Add linear alltoall and alltoallv algorithms to TL/UCP

@janjust janjust requested review from MamziB, nsarka and janjust April 9, 2025 14:39
@@ -75,7 +48,7 @@ void ucc_tl_ucp_alltoall_pairwise_progress(ucc_coll_task_t *coll_task)
((task->tagged.recv_posted - task->tagged.recv_completed) <
nreqs)) {
peer = get_recv_peer(grank, gsize, task->tagged.recv_posted);
UCPCHECK_GOTO(ucc_tl_ucp_recv_nb((void *)(rbuf + peer * data_size),
UCPCHECK_GOTO(ucc_tl_ucp_recv_nb(PTR_OFFSET(rbuf, peer * data_size),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if ucc_tl_ucp_recv_nb returns UCC_INPROGRESS it jumps to out, but you could still post more tasks to match nreq tasks in flight

@artemry-nv
Copy link
Collaborator

bot:retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants