Understand TVM.schedule.buffer

Would you help clarify questions about TVM.schedule.buffer?

  1. what’s Buffer mainly for?
  2. how Buffer is related with input/output layout of op in code?
  3. what’s the strides and alignment used for in buffer defination?
    4, function access_ptr() returns one ir::call(tvm_access_ptr). Is this equivalent with a pointer like int32* after codegen?

Thanks much.

related TVM buffer compaction (decl_buffer)

1 Like