!2004 add ub fusion pass

Merge pull request !2004 from wangcong/master
This commit is contained in:
mindspore-ci-bot 2020-06-11 21:27:55 +08:00 committed by Gitee
commit ed25605d79
1 changed files with 0 additions and 1 deletions

View File

@ -550,7 +550,6 @@ void AscendSession::InitRuntimeResource() {
void AscendSession::HardwareOptimize(const std::shared_ptr<KernelGraph> &kernel_graph) const {
MS_LOG(INFO) << "HardwareOptimize start!";
device::ascend::KernelPreBuild(kernel_graph.get());
opt::AscendBackendOptimization(kernel_graph);
MS_EXCEPTION_IF_NULL(kernel_graph);
kernel_graph->SetExecOrderByDefault();