Add IB/RDMA unit test

Dieser Commit ist enthalten in:
Wenkai Du
2020-06-05 23:23:46 +00:00
Ursprung 95b8f70d15
Commit cfa97eccd3
5 geänderte Dateien mit 958 neuen und 0 gelöschten Zeilen
+4
Datei anzeigen
@@ -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;