Add IB/RDMA unit test

[ROCm/rccl commit: cfa97eccd3]
This commit is contained in:
Wenkai Du committed 2020-06-16 18:29:17 +00:00
1 parent 5d93f83ae3
commit 9ca3176346
5 files changed
+958

No files matched your search

+4
View File
@@ -332,6 +332,10 @@ static ncclResult_t createListenSocket(int *fd, union socketAddress *localAddr)
return ncclSystemError;
}
#if defined(RCCL_IB_TEST)
localAddr->sin.sin_port = htons(23456);
#endif
if (socketToPort(&localAddr->sa)) {
// Port is forced by env. Make sure we get the port.
int opt = 1;