Home
last modified time | relevance | path

Searched refs:GetProcessor (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_convert_utils.cc105 std::string GetProcessor(const AnfNodePtr &anf_node) { in GetProcessor() function
108 switch (AnfAlgo::GetProcessor(anf_node)) { in GetProcessor()
Dtbe_convert_utils.h35 std::string GetProcessor(const AnfNodePtr &anf_node);
Dtbe_kernel_parallel_build.cc120 task_info.processor = tbe::GetProcessor(anf_node); in SavePreBuildTaskInfo()
136 task_info.processor = tbe::GetProcessor(anf_node); in SaveTaskInfo()
224 task_info.processor = tbe::GetProcessor(anf_node); in SaveSameOpInfo()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.h86 std::string GetProcessor(const AnfNodePtr &anf_node);
87 Processor GetProcessor(const string &processor);
Dcommon_utils.cc514 Processor GetProcessor(const string &processor) { in GetProcessor() function
522 std::string GetProcessor(const AnfNodePtr &anf_node) { in GetProcessor() function
525 switch (AnfAlgo::GetProcessor(anf_node)) { in GetProcessor()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dreplace_node_by_proxy.cc45 builder.SetProcessor(AnfAlgo::GetProcessor(cnode)); in GenerateKernelBuildInfo()
Dcommunication_op_fusion.cc77 builder.SetProcessor(AnfAlgo::GetProcessor(cnode)); in GenerateKernelBuildInfo()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Draise_reduction_precision.cc54 info_builder.SetProcessor(AnfAlgo::GetProcessor(node)); in CreateReduceSum()
Dreorder_ops.cc129 info_builder.SetProcessor(AnfAlgo::GetProcessor(orig_node)); in SetNodeInfo()
Dgraph_kernel_cluster.cc126 …if (AnfAlgo::GetProcessor(node) != kernel::Processor::AICORE && !IsPrimitiveCNode(node, prim::kPri… in IsClusterableOp()
Dgraph_kernel_helper.cc296 graph_info_builder.SetProcessor(AnfAlgo::GetProcessor(node)); in BuildSelectKernelBuildInfo()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dsplit_n_optimizer.cc140 if (AnfAlgo::IsRealKernel(item) && (AnfAlgo::GetProcessor(item) != 0)) { in OutputCheck()
/third_party/mindspore/tests/ut/cpp/session/
Danf_runtime_algorithm_test.cc653 TEST_F(AnfRuntimeAlgorithmTest, GetProcessor) { in TEST_F() argument
665 EXPECT_EQ(AnfAlgo::GetProcessor(add), kernel::AICORE); in TEST_F()
666 EXPECT_THROW(AnfAlgo::GetProcessor(nullptr), std::runtime_error); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.h221 static kernel::Processor GetProcessor(const AnfNodePtr &node);
Danf_runtime_algorithm.cc1350 kernel::Processor AnfRuntimeAlgorithm::GetProcessor(const AnfNodePtr &node) { in GetProcessor() function in mindspore::session::AnfRuntimeAlgorithm
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_json_decoder.cc360 Processor p = kernel::GetProcessor(processor); in DecodeCNode()