Add check for P2pPolicy for rocm-ib (#2122)
Этот коммит содержится в:
1 родитель
1d22c87167
Коммит
d0d00c33ee
1 file changed
+6
@@ -779,6 +779,12 @@ static ncclResult_t sendProxyConnect(struct ncclProxyConnection* connection, str
|
||||
if (proxyState->ncclNet == &ncclNetIb) {
|
||||
NCCLCHECK(rcclNetP2pPolicy(req->handle, resources->isP2p));
|
||||
}
|
||||
|
||||
#if defined(__HIP_PLATFORM_AMD__) || defined(__HIPCC__)
|
||||
if (proxyState->ncclNet == &rocmNetIb) {
|
||||
NCCLCHECK(rcclRocmNetP2pPolicy(req->handle, resources->isP2p));
|
||||
}
|
||||
#endif
|
||||
|
||||
if (resources->shared) {
|
||||
// Shared buffers
|
||||
|
||||
Reference in new issue
Block a user