Change default P2P level

[ROCm/rccl commit: 90e928bcd5]
这个提交包含在:
Wenkai Du 于 2019-12-04 21:05:10 +00:00 提交
1 父节点 10a18c53f6
当前提交 272d22fbe3
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -78,7 +78,7 @@ static int busIdToCudaDev(const char* busId) {
/* Determine if we can communicate with the peer through p2p */
ncclResult_t p2pCanConnect(ncclTvalue_t* ret, struct ncclPeerInfo* myInfo, struct ncclPeerInfo* peerInfo) {
// Do not use P2P across root complexes by default (provided CUDA permits it)
int p2pLevel = PATH_NODE;
int p2pLevel = PATH_SYS;
if (ncclParamP2pDisable() == 1) p2pLevel = 0;
if (ncclParamP2pLevel() != -2) p2pLevel = ncclParamP2pLevel();