Open
Conversation
Signed-off-by: Ilya Kryukov <ikryukov@nvidia.com>
Contributor
|
Collaborator
Author
|
/build |
Contributor
|
we already have this check in class init super, see if (attr.max_team_size < params->size) {
tl_debug(lib, "team size %d is too big, max supported %d",
params->size, attr.max_team_size);
return UCC_ERR_NOT_SUPPORTED;
} |
Collaborator
|
@ikryukov here too - please force a rebase, for some reason this and your previous PR show as "problem with creating rebase commit" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add a team size check in TL/CUDA
UCC_CLASS_INIT_FUNCthat returnsUCC_ERR_NOT_SUPPORTEDwhen the number of ranks exceedsUCC_TL_CUDA_MAX_PEERS(8).Why ?
Running
ucc_test_mpiwith more than 8 ranks on a single node causes asegmentation fault inside
ucc_tl_cuda_team_create_test. Several fixed-sizearrays (
scratch.rem,scratch.rem_info, barrierstate/local_sense) arebounded by
UCC_TL_CUDA_MAX_PEERSbut loops iterate overUCC_TL_TEAM_SIZE,resulting in out-of-bounds writes when team size > 8.