Home
last modified time | relevance | path

Searched refs:GetKernelType (Results 1 – 25 of 35) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/reporter/
Dtask_desc_reporter.cc34 if (AnfAlgo::GetKernelType(node) != TBE_KERNEL && AnfAlgo::GetKernelType(node) != AKG_KERNEL) { in ReportData()
Dgraph_desc_reporter.cc26 if (AnfAlgo::GetKernelType(node) != TBE_KERNEL && AnfAlgo::GetKernelType(node) != AKG_KERNEL) { in ReportData()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/
Dfusion_base_pass.cc33 return AnfAlgo::GetKernelType(node) == KernelType::TBE_KERNEL && in CheckEltWiseNode()
48 return AnfAlgo::GetKernelType(node) == KernelType::TBE_KERNEL && in CheckDoubleInEltWiseNode()
63 return AnfAlgo::GetKernelType(node) == KernelType::TBE_KERNEL && in CheckMultiOutputEltWiseNode()
Dmatmul_eltwise_fusion_pass.cc54 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
62 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dconv_single_in_fusion_pass.cc49 if (AnfAlgo::GetKernelType(eltwise_input) == KernelType::TBE_KERNEL && in MatchConvSingleInEltwise()
68 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dconv_double_in_fusion_pass.cc45 if (AnfAlgo::GetKernelType(double_in_eltwise_input) == KernelType::TBE_KERNEL && in MatchConvDoubleInEltwise()
64 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dsegment_eltwise_fusion_pass.cc45 if (AnfAlgo::GetKernelType(eltwise_input) == KernelType::TBE_KERNEL && in MatchSegmentEltwise()
78 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dreduce_eltwise_fusion_pass.cc47 if (AnfAlgo::GetKernelType(eltwise_input) == KernelType::TBE_KERNEL && in MatchReduceEltwise()
81 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dbnupdate_eltwise_fusion_pass.cc58 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Deltwise_fusion_pass.cc67 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dmulti_output_fusion_pass.cc72 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Ddepthwiseconv_eltwise_fusion_pass.cc63 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dbnupdate_eltwise_eltwise_fusion_pass.cc69 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
Dstridedread_conv_stridedwrite_fusion_pass.cc45 if (AnfAlgo::GetKernelType(conv_cnode) == KernelType::TBE_KERNEL && in MatchStridedReadConvStridedWrite()
Dconv2dbackprop_eltwise_eltwise_fusion_pass.cc80 if (AnfAlgo::GetKernelType(cnode) == KernelType::TBE_KERNEL && in MatchSingleFusionPattern()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_build_ascend.cc48 KernelType kernel_type = AnfAlgo::GetKernelType(anf_node); in SerialCompileImpl()
83 KernelType kernel_type = AnfAlgo::GetKernelType(anf_node); in KernelBuildParallelCompile()
368 AnfAlgo::GetKernelType(anf_node) == KernelType::AKG_KERNEL) { in TbeClearZeroNodeFusion()
388 … (AnfAlgo::GetKernelType(anf_node) == KernelType::TBE_KERNEL && IsAtomicNode(anf_node))) { in TbeClearZeroNodeFusion()
439 AnfAlgo::GetKernelType(anf_node) == KernelType::AKG_KERNEL) { in KernelBuildPreprocess()
458 } else if (AnfAlgo::GetKernelType(anf_node) == KernelType::TBE_KERNEL) { in KernelBuildPreprocess()
/third_party/mindspore/mindspore/ccsrc/runtime/device/executor/
Ddynamic_kernel.cc55 int DynamicKernel::GetKernelType() const { return AnfAlgo::GetKernelType(cnode_ptr_.lock()); } in GetKernelType() function in mindspore::device::DynamicKernel
Ddynamic_kernel.h46 [[nodiscard]] int GetKernelType() const;
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/dump/
Ddata_dumper.cc78 if (AnfAlgo::GetKernelType(kernel) == HCCL_KERNEL && in GetNeedDumpKernelList()
206 …if (AnfAlgo::GetKernelType(kernel) != TBE_KERNEL && AnfAlgo::GetKernelType(kernel) != AICPU_KERNEL… in KernelNeedDump()
207 AnfAlgo::GetKernelType(kernel) != AKG_KERNEL) { in KernelNeedDump()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/
Dprofiling_utils.cc209 … if (AnfAlgo::GetKernelType(*iter) == TBE_KERNEL || AnfAlgo::GetKernelType(*iter) == AKG_KERNEL || in GetGraphLastKernelName()
386 if (AnfAlgo::GetKernelType(node) == TBE_KERNEL || AnfAlgo::GetKernelType(node) == AKG_KERNEL) { in ValidComputeGraph()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_kernel_build.cc43 if (session::AnfRuntimeAlgorithm::GetKernelType(kernel) == KernelType::AKG_KERNEL) { in CreateGPUKernel()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dreplace_node_by_proxy.cc46 builder.SetKernelType(AnfAlgo::GetKernelType(cnode)); in GenerateKernelBuildInfo()
/third_party/mindspore/tests/ut/cpp/session/
Danf_runtime_algorithm_test.cc637 TEST_F(AnfRuntimeAlgorithmTest, GetKernelType) { in TEST_F() argument
649 EXPECT_EQ(AnfAlgo::GetKernelType(add), AKG_KERNEL); in TEST_F()
650 EXPECT_THROW(AnfAlgo::GetKernelType(nullptr), std::runtime_error); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dreorder_ops.cc126 info_builder.SetKernelType(AnfAlgo::GetKernelType(orig_node)); in SetNodeInfo()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/tasksink/
Dtask_generator.cc99 if (AnfAlgo::GetKernelType(anf_node_ptr) == KernelType::AKG_KERNEL) { in LaunchAddrCleanKernel()

12