Merge remote-tracking branch 'nccl/master' into develop
Этот коммит содержится в:
@@ -25,5 +25,16 @@ ncclResult_t ncclLaunchKernel(struct ncclComm* comm, struct ncclKernelPlan* plan
|
||||
ncclResult_t ncclLaunchKernelAfter_NoCuda(struct ncclComm* comm, struct ncclKernelPlan* plan);
|
||||
ncclResult_t ncclLaunchFinish(struct ncclComm* comm);
|
||||
ncclResult_t ncclPrepareTasks(struct ncclComm* comm, bool* algoNeedConnect, bool* needConnect, ncclSimInfo_t* simInfo);
|
||||
ncclResult_t ncclTasksRegAndEnqueue(struct ncclComm* comm);
|
||||
|
||||
static inline size_t ncclFuncSendCount(ncclFunc_t func, int nRanks, size_t count) {
|
||||
return func == ncclFuncReduceScatter ? nRanks*count : count;
|
||||
}
|
||||
static inline size_t ncclFuncRecvCount(ncclFunc_t func, int nRanks, size_t count) {
|
||||
return func == ncclFuncAllGather ? nRanks*count : count;
|
||||
}
|
||||
rccl_static_inline size_t ncclFuncMaxSendRecvCount(ncclFunc_t func, int nRanks, size_t count) {
|
||||
return func == ncclFuncAllGather || func == ncclFuncReduceScatter ? nRanks*count : count;
|
||||
}
|
||||
|
||||
#endif // End include guard
|
||||
|
||||
Ссылка в новой задаче
Block a user