-
Notifications
You must be signed in to change notification settings - Fork 94
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
Inconsistency in maximum rank #487
Comments
you are right. probably need to add a TL iface to query max size and in runtime disqualify TLs if user team size exceeds max supported. While UCC_RANK_MAX is internal max for any TL. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks to me as if there is an inconsistency in how UCC determines the maximum rank within a team. On the one hand, there's this code in
src/utils/ucc_datastruct.h
that says the maximum rank isUINT32_MAX - 1
(4,294,967,295):ucc/src/utils/ucc_datastruct.h
Lines 14 to 15 in 56df2df
On the other hand, within the UCP TL, this code seems to only handle a maximum of 24 bits (16,777,216):
ucc/src/components/tl/ucp/tl_ucp_tag.h
Lines 9 to 22 in 56df2df
I don't think it's likely that either maximum is being hit right now, but it would probably be good to be consistent. Particularly as different TLs could potentially support different maximum sizes.
The text was updated successfully, but these errors were encountered: