diff --git a/mindspore/ccsrc/runtime/device/ascend/ascend_stream_assign.cc b/mindspore/ccsrc/runtime/device/ascend/ascend_stream_assign.cc index 3b278c2d31..28bf6f3e2c 100644 --- a/mindspore/ccsrc/runtime/device/ascend/ascend_stream_assign.cc +++ b/mindspore/ccsrc/runtime/device/ascend/ascend_stream_assign.cc @@ -827,6 +827,7 @@ void AscendStreamAssign::InsertEventHcomDependCommonBak(const NotNull 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; }