Add IB/RDMA unit test

This commit is contained in:
Wenkai Du
2020-06-05 23:23:46 +00:00
parent 95b8f70d15
commit cfa97eccd3
5 changed files with 958 additions and 0 deletions
+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;