#include "common.h"
#include "all_reduce.h"
DEFINE_ncclDevFunc(AllReduce_TREE_LL_PreMulSum_f8e5m2_0_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL, 0, 0, 1)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_TREE_LL_PreMulSum_f8e5m2_1_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL, 1, 0, 1)
#endif
#if (defined(__gfx90a__) || defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_TREE_LL128_PreMulSum_f8e5m2_0_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL128, 0, 0, 1)
#endif
#if (defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_TREE_LL128_PreMulSum_f8e5m2_1_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL128, 1, 0, 1)
#endif
DEFINE_ncclDevFunc(AllReduce_TREE_SIMPLE_PreMulSum_f8e5m2_0_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_SIMPLE, 0, 0, 1)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_TREE_SIMPLE_PreMulSum_f8e5m2_1_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_SIMPLE, 1, 0, 1)
#endif
DEFINE_ncclDevFunc(AllReduce_RING_LL_PreMulSum_f8e5m2_0_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL, 0, 0, 1)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_RING_LL_PreMulSum_f8e5m2_1_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL, 1, 0, 1)
#endif
#if (defined(__gfx90a__) || defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_RING_LL128_PreMulSum_f8e5m2_0_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL128, 0, 0, 1)
#endif
#if (defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_RING_LL128_PreMulSum_f8e5m2_1_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL128, 1, 0, 1)
#endif
DEFINE_ncclDevFunc(AllReduce_RING_SIMPLE_PreMulSum_f8e5m2_0_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_SIMPLE, 0, 0, 1)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_RING_SIMPLE_PreMulSum_f8e5m2_1_0_1, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_SIMPLE, 1, 0, 1)
#endif
DEFINE_ncclDevFunc(AllReduce_TREE_LL_PreMulSum_f8e5m2_0_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL, 0, 0, 2)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_TREE_LL_PreMulSum_f8e5m2_1_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL, 1, 0, 2)
#endif
#if (defined(__gfx90a__) || defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_TREE_LL128_PreMulSum_f8e5m2_0_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL128, 0, 0, 2)
#endif
#if (defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_TREE_LL128_PreMulSum_f8e5m2_1_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL128, 1, 0, 2)
#endif
DEFINE_ncclDevFunc(AllReduce_TREE_SIMPLE_PreMulSum_f8e5m2_0_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_SIMPLE, 0, 0, 2)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_TREE_SIMPLE_PreMulSum_f8e5m2_1_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_SIMPLE, 1, 0, 2)
#endif
DEFINE_ncclDevFunc(AllReduce_RING_LL_PreMulSum_f8e5m2_0_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL, 0, 0, 2)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_RING_LL_PreMulSum_f8e5m2_1_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL, 1, 0, 2)
#endif
#if (defined(__gfx90a__) || defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_RING_LL128_PreMulSum_f8e5m2_0_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL128, 0, 0, 2)
#endif
#if (defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_RING_LL128_PreMulSum_f8e5m2_1_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL128, 1, 0, 2)
#endif
DEFINE_ncclDevFunc(AllReduce_RING_SIMPLE_PreMulSum_f8e5m2_0_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_SIMPLE, 0, 0, 2)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_RING_SIMPLE_PreMulSum_f8e5m2_1_0_2, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_SIMPLE, 1, 0, 2)
#endif
DEFINE_ncclDevFunc(AllReduce_TREE_LL_PreMulSum_f8e5m2_0_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL, 0, 0, 4)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_TREE_LL_PreMulSum_f8e5m2_1_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL, 1, 0, 4)
#endif
#if (defined(__gfx90a__) || defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_TREE_LL128_PreMulSum_f8e5m2_0_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL128, 0, 0, 4)
#endif
#if (defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_TREE_LL128_PreMulSum_f8e5m2_1_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_LL128, 1, 0, 4)
#endif
DEFINE_ncclDevFunc(AllReduce_TREE_SIMPLE_PreMulSum_f8e5m2_0_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_SIMPLE, 0, 0, 4)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_TREE_SIMPLE_PreMulSum_f8e5m2_1_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_TREE, NCCL_PROTO_SIMPLE, 1, 0, 4)
#endif
DEFINE_ncclDevFunc(AllReduce_RING_LL_PreMulSum_f8e5m2_0_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL, 0, 0, 4)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_RING_LL_PreMulSum_f8e5m2_1_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL, 1, 0, 4)
#endif
#if (defined(__gfx90a__) || defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_RING_LL128_PreMulSum_f8e5m2_0_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL128, 0, 0, 4)
#endif
#if (defined(__gfx942__) || defined(__gfx950__)) && defined(ENABLE_LL128)
DEFINE_ncclDevFunc(AllReduce_RING_LL128_PreMulSum_f8e5m2_1_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_LL128, 1, 0, 4)
#endif
DEFINE_ncclDevFunc(AllReduce_RING_SIMPLE_PreMulSum_f8e5m2_0_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_SIMPLE, 0, 0, 4)
#if defined(__gfx942__) || defined(__gfx950__)
DEFINE_ncclDevFunc(AllReduce_RING_SIMPLE_PreMulSum_f8e5m2_1_0_4, ncclFuncAllReduce, FuncPreMulSum, rccl_bfloat8, NCCL_ALGO_RING, NCCL_PROTO_SIMPLE, 1, 0, 4)
#endif
