Browse Source

fix

pull/1719/head
wangxiaotian22 4 years ago
parent
commit
642d8bea3b
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      ge/graph/build/memory/graph_mem_assigner.cc

+ 4
- 3
ge/graph/build/memory/graph_mem_assigner.cc View File

@@ -271,9 +271,10 @@ Status GraphMemoryAssigner::ReAssignMemory(bool is_loop_graph, map<uint64_t, siz
GEEVENT("[IMAS]AfterAssignMemory : %s memoffset[%zu], memtype[%ld]", compute_graph_->GetName().c_str(), GEEVENT("[IMAS]AfterAssignMemory : %s memoffset[%zu], memtype[%ld]", compute_graph_->GetName().c_str(),
iter.second, iter.first); iter.second, iter.first);
} }
ErrorManager::GetInstance().ATCReportErrMessage(
"E19022", {"size", "item", "maxsize"},
{total_mem_offset, "featuremap", std::to_string(VarManager::Instance(session_id)->GetGraphMemoryMaxSize())});
REPORT_INPUT_ERROR(
"E19022", std::vector<std::string>({"size", "item", "maxsize"}),
std::vector<std::string>({std::to_string(total_mem_offset), "featuremap",
std::to_string(VarManager::Instance(session_id)->GetGraphMemoryMaxSize())}));
return ge::FAILED; return ge::FAILED;
} }
return SUCCESS; return SUCCESS;


Loading…
Cancel
Save