Skip to content
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

TL/SHARP: add support for allgather #1081

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

Conversation

Sergei-Lebedev
Copy link
Contributor

What

Add support SHARP allgather. Fix regsitration in reduce scatter

Copy link
Collaborator

@samnordmann samnordmann left a comment

Choose a reason for hiding this comment

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

LGTM!
Is it cover by the CI tests?

dst_data_size = ucc_dt_size(dt) * count;

if (!UCC_IS_INPLACE(*args)) {
ucc_tl_sharp_mem_register(TASK_CTX(task), team, args->src.info.buffer,
Copy link
Collaborator

Choose a reason for hiding this comment

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

check status?

break;
case UCC_COLL_TYPE_ALLGATHER:
if (!UCC_IS_INPLACE(TASK_ARGS(task))) {
ucc_tl_sharp_mem_deregister(TASK_TEAM(task),
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should check status, even though IIUC ucc_tl_sharp_mem_deregister cannot return any error -- in this case we might want to change the return type to void

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

Successfully merging this pull request may close these issues.

3 participants