TL/UCP: fix onesided a2a alg selection for 1ppn#1247
TL/UCP: fix onesided a2a alg selection for 1ppn#1247Sergei-Lebedev merged 2 commits intoopenucx:masterfrom
Conversation
f99415b to
32e81f4
Compare
|
| Filename | Overview |
|---|---|
| src/components/tl/ucp/alltoall/alltoall_onesided.c | Fixed 1 PPN algorithm selection by using PUT when node subgroup doesn't exist and defaulting group_size to 1 |
There was a problem hiding this comment.
Additional Comments (2)
-
src/components/tl/ucp/alltoall/alltoall_onesided.c, line 282 (link)logic: when
sbgp->status == UCC_SBGP_NOT_EXISTS(1 PPN case),sbgp->group_sizeis uninitialized. this line will compute ratio using garbage value, causing incorrect token calculation -
src/components/tl/ucp/alltoall/alltoall_onesided.c, line 290-291 (link)logic: when
sbgp->status == UCC_SBGP_NOT_EXISTS(1 PPN case), comparing uninitializedsbgp->group_sizeagainst CONGESTION_THRESHOLD will cause undefined behavior. should check sbgp status first
1 file reviewed, 2 comments
|
@wfaderhold21 i think comments from greptile are relevant |
Greptile's behavior is changing!From now on, if a review finishes with no comments, we will not post an additional "statistics" comment to confirm that our review found nothing to comment on. However, you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
|
/build |
2c82051 to
61c2adf
Compare
61c2adf to
ce20d2d
Compare
|
/build |
|
/build |
What
When using 1 PPN, algorithm will return UCC_ERR_NOT_SUPPORTED. This defaults to the PUT algorithm.