Searched refs:OptLevel_2 (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | graph_kernel_optimization.cc | 56 using context::OptLevel_2; 102 pm->AddPass(std::make_shared<CastMatmulFusion>(), OptLevel_2, is_ascend); in HighLevelOpt1() 105 pm->AddPass(std::make_shared<ReorderOps>(), OptLevel_2); in HighLevelOpt1() 111 pm->AddPass(std::make_shared<OptimizeAssign>(), OptLevel_2); in HighLevelOpt1() 112 pm->AddPass(std::make_shared<EliminateRedundantOutput>(), OptLevel_2); in HighLevelOpt1() 115 pm->AddPass(std::make_shared<RaiseReductionPrecision>(), OptLevel_2); in HighLevelOpt1() 121 pm->AddPass(std::make_shared<ArithmeticSimplify>(), OptLevel_2, is_gpu); in HighLevelOpt1() 124 pm->AddPass(std::make_shared<GraphKernelCSE>(), OptLevel_2); in HighLevelOpt1() 158 pm->AddPass(std::make_shared<AtomicCleanInsertter>(), OptLevel_2); in HighLevelOpt2()
|
/third_party/mindspore/mindspore/ccsrc/utils/context/ |
D | graph_kernel_flags.cc | 179 reg.AddFlag("opt_level", &opt_level, enable_graph_kernel_ ? OptLevel_2 : OptLevel_0); in RegisterFlags() 188 reg.AddFlag("enable_recompute_fusion", &enable_recompute_fusion, opt_level >= OptLevel_2); in RegisterFlags()
|
D | graph_kernel_flags.h | 31 constexpr unsigned int OptLevel_2 = 2; // Default functions variable
|