Limit P2P channels per peer to not exceeding max channels (#1594)
* Limit P2P channels per peer to not exceeding max channels
* [UT] test single GPU cases for all collectives
* [UT] fix out of range root value
[ROCm/rccl commit: 4237caad69]
This commit is contained in:
@@ -695,7 +695,7 @@ namespace RcclUnitTesting
|
||||
&numInputElements,
|
||||
&numOutputElements);
|
||||
optionalArgs.redOp = redOps[rdIdx];
|
||||
optionalArgs.root = roots[rtIdx];
|
||||
optionalArgs.root = roots[rtIdx] % this->numActiveRanks;
|
||||
this->SetCollectiveArgs(funcTypes[ftIdx],
|
||||
dataTypes[dtIdx],
|
||||
numInputElements,
|
||||
|
||||
Reference in New Issue
Block a user