-
Notifications
You must be signed in to change notification settings - Fork 103
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
CORE: fix score update when only score given #779
CORE: fix score update when only score given #779
Conversation
bot:retest |
8faf086
to
771ac8d
Compare
src/coll_score/ucc_coll_score.h
Outdated
ucc_coll_score_alloc_from_str. | ||
Return values: | ||
UCC_OK - input alg_id can be correctly mapped to the "init" fn | ||
UCC_ERR_NOT_SUPPORTED - CL/TL does allow changing algorithms ids for |
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.
typo - shouod be "doesn't" instead of "does"
int mt_n); | ||
|
||
ucc_status_t | ||
ucc_coll_score_update_from_str(const char *str, |
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.
Once merged, needs to be updated in TL/SHM as well.
@@ -34,7 +34,8 @@ UCC_TEST_F(test_score_update, non_overlap) | |||
UCC_COLL_TYPE_BARRIER); | |||
init_score(update, RLIST({RANGE(10, 20, 100), RANGE(30, 35, 1)}), | |||
UCC_COLL_TYPE_BARRIER); | |||
EXPECT_EQ(UCC_OK, ucc_coll_score_update(score, update, 0, NULL, 0)); | |||
EXPECT_EQ(UCC_OK, ucc_coll_score_update(score, update, 0, NULL, 0, | |||
UCC_COLL_TYPE_ALL)); |
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.
Will UCC_COLL_TYPE_ALL work for TL/SHM as well? Not all colls are supported there - will it fall back onto other TL?
f4d0aae
to
fe29e9c
Compare
fe29e9c
to
d06f9d6
Compare
What
Fixes ucc score table when user provides score for TL/CL and only total score is given
e.g. UCC_TL_SHARP_TUNE=inf results in scatter, allgather, alltoall collectives (not supported by sharp) in UCC score table
with fix
without fix
How ?
Pass TL supported collectives to tuning string parser