Browse Source

for ut cov

tags/v1.3.0
wangxiaotian22 3 years ago
parent
commit
fd97c34af6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ge/graph/build/memory/graph_mem_assigner.cc

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

@@ -337,7 +337,7 @@ uint32_t GetContinuousMemoryType(const OpDescPtr &op_desc) {
} }


if (continuous_type != 0) { if (continuous_type != 0) {
GELOGI("[Get][MemType:Continuous]Current node %s, value is %d", op_desc->GetName().c_str(), continuous_type);
GELOGI("[Get][MemType:Continuous]Current node %s, value is %d.", op_desc->GetName().c_str(), continuous_type);
} }
return continuous_type; return continuous_type;
} }
@@ -482,7 +482,7 @@ Status GraphMemoryAssigner::ReAssignContinuousMemory(bool is_loop_graph) {
"[Assign][Memory:Continuous:Input]fail for node:%s.", node->GetName().c_str()) "[Assign][Memory:Continuous:Input]fail for node:%s.", node->GetName().c_str())
} }
for (auto pair : memory_offset_) { for (auto pair : memory_offset_) {
GELOGD("[Reassign][Memory:Continuous]At last, memory type = %ld, mem offset = %zu.", pair.first,
GELOGD("[Reassign][Memory:Continuous]At last, memory type = %ld, mem offset = %zu", pair.first,
pair.second.mem_offset_); pair.second.mem_offset_);
} }
return ge::SUCCESS; return ge::SUCCESS;


Loading…
Cancel
Save