ib-test: support multiple channels (#241)

Этот коммит содержится в:
Wenkai Du authored and GitHub committed 2020-07-27 11:03:12 -07:00
1 родитель fe3d520601
Коммит 8d5fb920b6
2 files changed
+374 -339

No files matched your search

+2 -1
Просмотреть файл
@@ -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)) {