ib-test: support multiple channels (#241)
Этот коммит содержится в:
1 родитель
fe3d520601
Коммит
8d5fb920b6
2 files changed
+374
-339
No files matched your search
@@ -333,7 +333,8 @@ static ncclResult_t createListenSocket(int *fd, union socketAddress *localAddr)
|
||||
}
|
||||
|
||||
#if defined(RCCL_IB_TEST)
|
||||
localAddr->sin.sin_port = htons(23456);
|
||||
static int port = 23456;
|
||||
localAddr->sin.sin_port = htons(port++);
|
||||
#endif
|
||||
|
||||
if (socketToPort(&localAddr->sa)) {
|
||||
|
||||
Reference in new issue
Block a user