applying the changes from net_ib.cc to rocm_net_ib.cc to ensure DMABUF-disabled configurations are respected. (#2152)
Co-authored-by: Marzieh Berenjkoub <mberenjk@amd.com>
这个提交包含在:
@@ -2116,7 +2116,7 @@ ib_recv:
|
||||
}
|
||||
}
|
||||
|
||||
useDmaBuf = (rocmIbDmaBufSupport(lComm->dev) == ncclSuccess);
|
||||
useDmaBuf = (rocmIbDmaBufSupport(lComm->dev) == ncclSuccess && ncclParamDmaBufEnable());
|
||||
rComm->flushEnabled = ((rocmIbGdrSupport() == ncclSuccess || useDmaBuf)
|
||||
&& (ncclIbGdrFlushDisable == 0)) ? 1 : 0;
|
||||
for (int i = 0; i < rComm->base.vProps.ndevs; i++) {
|
||||
|
||||
在新工单中引用
屏蔽一个用户