Home
last modified time | relevance | path

Searched refs:kAttrFusion (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dadjust_depend_for_parallel_optimizer_recompute_all_gather.cc41 …bool is_fusion = AnfAlgo::HasNodeAttr(kAttrFusion, cnode) && AnfAlgo::GetNodeAttr<int64_t>(cnode, in Run()
45 int64_t fusion_id = AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion); in Run()
59 int64_t unrecompute_fusion_id = AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion); in Run()
87 int64_t current_fusion_id = AnfAlgo::GetNodeAttr<int64_t>(adjust_node, kAttrFusion); in IncreaseAllgatherFusionId()
89 AnfAlgo::SetNodeAttr(kAttrFusion, MakeValue(destination_fusion_id), adjust_node); in IncreaseAllgatherFusionId()
92 int64_t current_fusion_id = AnfAlgo::GetNodeAttr<int64_t>(adjust_node, kAttrFusion); in IncreaseAllgatherFusionId()
94 AnfAlgo::SetNodeAttr(kAttrFusion, MakeValue(destination_fusion_id), adjust_node); in IncreaseAllgatherFusionId()
Dcommunication_op_fusion.cc90 ValuePtr attr_fusion = primitive->GetAttr(kAttrFusion); in GetFusionGroupKey()
371 const std::vector<std::string> kHcclFusionAttrs = {kAttrFusion, kAttrGroup, kAttrGroupBack, in CreateFusedCommunicationOp()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dinsert_depend_for_all_gather.cc35 …if (AnfAlgo::GetCNodeName(cnode) == kAllGatherOpName && AnfAlgo::HasNodeAttr(kAttrFusion, cnode) && in Run()
36 AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion) > 0 && !is_recompute) { in Run()
37 all_gather_node[AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion)] = node; in Run()
Dsplit_inputs_for_reduce_scatter.cc75 AnfAlgo::SetNodeAttr(kAttrFusion, MakeValue(1L), reduce_scatter); in RearrangeInputsForReduceScatter()
93 AnfAlgo::SetNodeAttr(kAttrFusion, MakeValue(0L), node); in Process()
96 if (!AnfAlgo::HasNodeAttr(kAttrFusion, cnode) || !AnfAlgo::HasNodeAttr(kAttrRankSize, cnode)) { in Process()
99 auto fusion = AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion); in Process()
Dconcat_outputs_for_all_gather.cc139 if (!AnfAlgo::HasNodeAttr(kAttrFusion, cnode) || !AnfAlgo::HasNodeAttr(kAttrRankSize, cnode)) { in Process()
142 auto fusion = AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/hccl/
Dhcom_util.cc158 …if (AnfAlgo::HasNodeAttr(kAttrFusion, cnode) && AnfAlgo::GetNodeAttr<int64_t>(anf_node, kAttrFusio… in GetHcomCount()
165 …if (AnfAlgo::HasNodeAttr(kAttrFusion, cnode) && AnfAlgo::GetNodeAttr<int64_t>(anf_node, kAttrFusio… in GetHcomCount()
Dhccl_kernel.cc172 if (AnfAlgo::HasNodeAttr(kAttrFusion, cnode)) { in GetOutputSizeList()
173 fusion = AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion); in GetOutputSizeList()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dconcat_outputs_for_all_gather.cc132 if (!AnfAlgo::HasNodeAttr(kAttrFusion, cnode) || !AnfAlgo::HasNodeAttr(kAttrRankSize, cnode)) { in Process()
135 auto fusion = AnfAlgo::GetNodeAttr<int64_t>(cnode, kAttrFusion); in Process()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Drecompute.cc357 …int64_t fusion_id = prim->HasAttr(kAttrFusion) ? GetValue<int64_t>(prim->GetAttr(kAttrFusion)) : 0; in NewRecomputedNode()
361 new_prim->set_attr(kAttrFusion, MakeValue(fusion_id + fusion_id_increasement_size)); in NewRecomputedNode()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Dbn_split.cc235 AnfAlgo::SetNodeAttr(kAttrFusion, MakeValue(opid), allreduce); in CreateAllReduceAndMul()
/third_party/mindspore/mindspore/ccsrc/utils/
Dutils.h386 constexpr auto kAttrFusion = "fusion"; variable
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc1666 ValuePtr attr_fusion = primitive->GetAttr(kAttrFusion); in IsFusedCommunicationOp()