!9643 fix bug for hcom parallel

From: @gukecai
Reviewed-by: @jjfeing,@kisnwang
Signed-off-by: @kisnwang
This commit is contained in:
mindspore-ci-bot 2020-12-08 21:27:52 +08:00 committed by Gitee
commit 7f77cb53b8
1 changed files with 1 additions and 0 deletions

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;
}