From ae88c9301943bb9d084627b4efb89286e7d2fe65 Mon Sep 17 00:00:00 2001 From: zhou_chao1993 Date: Tue, 29 Dec 2020 15:01:14 +0800 Subject: [PATCH] modify p2p addr assigner --- ge/graph/build/memory/graph_mem_assigner.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/ge/graph/build/memory/graph_mem_assigner.cc b/ge/graph/build/memory/graph_mem_assigner.cc index 40b3b9dc..2af94d40 100755 --- a/ge/graph/build/memory/graph_mem_assigner.cc +++ b/ge/graph/build/memory/graph_mem_assigner.cc @@ -402,6 +402,7 @@ Status GraphMemoryAssigner::AssignContinuousInputMemory(const ge::NodePtr &node, GE_ERRORLOG_AND_ERRORMSG(FAILED, error.c_str()); return FAILED; } + continuous_mem_start = iter->second.mem_offset_; for (auto &in_data_anchor : node->GetAllInDataAnchors()) { auto peer_out_data_anchor = in_data_anchor->GetPeerOutAnchor(); GE_IF_BOOL_EXEC(peer_out_data_anchor == nullptr, continue);