2
0

Only use split tree algorithm to reduce kernel code size.

[ROCm/rccl commit: 02929cffb6]
Este cometimento está contido em:
Wenkai Du
2022-09-20 18:35:26 +00:00
cometido por Wen-Heng (Jack) Chung
ascendente e4d46a0f64
cometimento abdc365a05
+1 -2
Ver ficheiro
@@ -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);
}
};