Browse Source

!8869 reorder sub graph optimzier

From: @kisnwang
Reviewed-by: @chujinjin,@jjfeing
Signed-off-by: @jjfeing
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
c3939e7448
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ccsrc/backend/session/ascend_session.cc

+ 1
- 0
mindspore/ccsrc/backend/session/ascend_session.cc View File

@@ -282,6 +282,7 @@ void AscendSession::BuildGraphImpl(GraphId graph_id) {
// Reorder optimizer order
auto execution_order = graph->execution_order();
Reorder(&execution_order);
graph->set_execution_order(execution_order);
// Assign streams for control sink and hccl and so on
AssignStream(NOT_NULL(graph));



Loading…
Cancel
Save