ib-test: support multiple channels (#241)

[ROCm/rccl commit: 8d5fb920b6]
This commit is contained in:
Wenkai Du
2020-07-27 11:03:12 -07:00
committed by GitHub
orang tua 63579bd62d
melakukan 49c667ac8a
2 mengubah file dengan 374 tambahan dan 339 penghapusan
+2 -1
Melihat File
@@ -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)) {