-
Notifications
You must be signed in to change notification settings - Fork 102
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: Prevent sharp team with team max ppn > 1 #761
Conversation
} | ||
|
||
if (ucc_topo_max_ppn(self->topo) != 1) { | ||
tl_info(ctx->super.super.lib, "sharp team not supported with ppn > 1"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to tl_debug
|
||
if (ucc_topo_max_ppn(self->topo) != 1) { | ||
tl_info(ctx->super.super.lib, "sharp team not supported with ppn > 1"); | ||
return UCC_ERR_NOT_SUPPORTED; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when return from team create function with error status you need to cleanup all resources allocated since destructor will not be called. Here need to free ucc_topo
@@ -136,7 +138,8 @@ UCC_CLASS_INIT_FUNC(ucc_tl_sharp_team_t, ucc_base_context_t *tl_context, | |||
goto cleanup; | |||
} | |||
|
|||
tl_debug(self->super.super.context->lib, "initialized tl team: %p", self); | |||
tl_debug(self->super.super.context->lib, "initialized tl team: %p size:%d", | |||
self, UCC_TL_TEAM_SIZE(self)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alignment
return status; | ||
} | ||
|
||
if (ucc_topo_max_ppn(self->topo) != 1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we make param for it? Do we sometimes want to allow sharp when ppn > 1?
bot:retest |
No description provided.