Merge pull request #619 from whchung/exp_reduce_code_size

Only use split tree algorithm to reduce kernel code size.
Этот коммит содержится в:
Wen-Heng (Jack) Chung authored and GitHub committed 2022-09-26 10:06:27 -05:00
Коммит e8af0716c4
1 file changed
+1 -2
+1 -2
Просмотреть файл
@@ -691,8 +691,7 @@ struct RunWorkElement<ncclFuncAllReduce, T, RedOp, NCCL_ALGO_RING, NCCL_PROTO_LL
template<typename T, typename RedOp>
struct RunWorkElement<ncclFuncAllReduce, T, RedOp, NCCL_ALGO_TREE, NCCL_PROTO_LL> {
__device__ __forceinline__ void run(ncclWorkElem *args) {
if (args->pad_0 == 0) runTreeUpDown<T, RedOp, ProtoLL>(args);
else runTreeSplit<T, RedOp, ProtoLL>(args);
runTreeSplit<T, RedOp, ProtoLL>(args);
}
};