forked from mindspore-Ecosystem/mindspore
!2416 Fix new control stream bug
Merge pull request !2416 from caifubi/fix-new-control-stream-bug
This commit is contained in:
commit
b7bc8e31f6
|
@ -282,6 +282,8 @@ GraphId AscendSession::CompileGraph(NotNull<FuncGraphPtr> func_graph) {
|
|||
AdjustKernel(graph);
|
||||
// assign stream
|
||||
AssignStream(graph);
|
||||
// insert profiling point
|
||||
device::KernelAdjust::GetInstance().Profiling(NOT_NULL(graph.get()));
|
||||
// build kernel
|
||||
BuildKernel(graph);
|
||||
// alloc mem
|
||||
|
|
Loading…
Reference in New Issue