Browse Source

fix hcom parallel bug

tags/v1.1.0
gukecai 5 years ago
parent
commit
d9820d8df2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ccsrc/runtime/device/ascend/ascend_stream_assign.cc

+ 1
- 0
mindspore/ccsrc/runtime/device/ascend/ascend_stream_assign.cc View File

@@ -827,6 +827,7 @@ void AscendStreamAssign::InsertEventHcomDependCommonBak(const NotNull<KernelGrap
// get the input which located in the lastr exe orders
vector<CNodePtr> inputs_cnode = GetLastInputCnode(graph_ptr, cur_cnode_ptr);
if (inputs_cnode.empty()) {
cnodes.emplace_back(cur_cnode_ptr);
MS_LOG(WARNING) << "Hcom op:" << AnfAlgo::GetCNodeName(cur_cnode_ptr) << " can't find inputs nodes";
continue;
}


Loading…
Cancel
Save