1 parent
086fa823db
commit
d1247bbf2a
2 files changed
+17
-7
No files matched your search
@@ -805,6 +805,12 @@ static ncclResult_t scheduleCollTasksToPlan(
|
||||
}
|
||||
proxyOp->channelId = c;
|
||||
proxyOp->opCount = proxyOpId;
|
||||
proxyOp->connIndex = 0;
|
||||
if (task->protocol == NCCL_PROTO_SIMPLE && task->algorithm == NCCL_ALGO_RING) {
|
||||
if (comm->useIntraNet && nBytes > rcclParamIntraNetThreshold()) {
|
||||
proxyOp->connIndex = NCCL_CONN_IDX_P2P_NET;
|
||||
}
|
||||
}
|
||||
addWorkBatchToPlan(comm, plan, c, workNode->workType, task->devFuncId, plan->workBytes);
|
||||
NCCLCHECK(addProxyOpIfNeeded(comm, plan, proxyOp));
|
||||
}
|
||||
@@ -1992,13 +1998,6 @@ static ncclResult_t calcCollChunking(
|
||||
}
|
||||
}
|
||||
|
||||
proxyOp->connIndex = 0;
|
||||
if (info->protocol == NCCL_PROTO_SIMPLE && info->algorithm == NCCL_ALGO_RING) {
|
||||
if (comm->useIntraNet && nBytes > rcclParamIntraNetThreshold()) {
|
||||
proxyOp->connIndex = NCCL_CONN_IDX_P2P_NET;
|
||||
}
|
||||
}
|
||||
|
||||
*outChunkSize = chunkSize;
|
||||
return ncclSuccess;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user