This is the tracking issue for the changes proposed in the USMP 
[RFC](https://discuss.tvm.apache.org/t/rfc-unified-static-memory-planning/10099).

# Steps

- [ ] Introduction and integration of tir.allocate_const (similiar to 
tir.allocate). The integration would be a refactor of current link-params 
implementation to lower from tir.allocate_consts.
  - [ ] (Breakdown PRs TBD)
- [ ] Analysis Passes and data structures
  - [ ] Extract BufferInfo for tir.allocate s with liveness conflicts
  - [ ] Extract BufferInfo for tir.allocate_const
- [ ] Transform Passes with data structurs
  - [ ] Convert parallel for loops to serial for loops (Optional)
  - [ ] Replace TIR main and operator PrimFuncs tir.allocate s and 
tir.allocate_const s with offsets to workspace and parameter buffers. This is 
run after running a memory planning algorithm on extracted BufferInfo objects.
- [ ] Memory Planning Algorithms (with Array<BufferInfo> interface)
  - [ ] Greedy by Size Algorithm Implementation
- [ ] USMP integration to AoT executor codegen 
  - [ ] (Breakdown PRs TBD)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm/issues/8404

Reply via email to