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