Increase P2P channels per peer (#1060)

[ROCm/rccl commit: ffde530af5]
这个提交包含在:
Wenkai Du 编写, GitHub 于 2024-01-25 11:21:58 -08:00 提交
1 父节点 b229abc692
当前提交 71a356670f
1 个文件已更改
+1
+1
查看文件
@@ -861,6 +861,7 @@ ncclResult_t ncclTopoComputeP2pChannels(struct ncclComm* comm) {
} else {
// Round to next pow2 nChannelsPerPeer and nChannels
comm->p2pnChannelsPerPeer = (ncclParamNChannelsPerPeer() == -2 ? nextPow2(minChannels) : ncclParamNChannelsPerPeer());
comm->p2pnChannelsPerPeer *= 2;
comm->p2pnChannels = nextPow2(comm->p2pnChannels);
}