d-smirnov commented on code in PR #10189:
URL: https://github.com/apache/tvm/pull/10189#discussion_r841735370
##########
src/tir/usmp/unified_static_memory_planner.cc:
##########
@@ -54,14 +55,62 @@ IRModule PlanMemory(const IRModule& mod, String algo) {
PrimFunc main_func =
Downcast<PrimFunc>(mod->Lookup(::tvm::runtime::symbol::tvm_module_main));
BufferInfoAnalysis buffer_info_analysis = ExtractBufferInfo(main_func, mod);
Array<BufferInfo> buffer_info_arr =
- CreateArrayBufferInfo(buffer_info_analysis->buffer_info_stmts);
+ ConvertToArrayOfBufferInfo(buffer_info_analysis->buffer_info_stmts);
+
+ // All items in RO pool should have conflicts with each other in this RO pool
Review Comment:
Moved to ExtractBufferInfo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]