vinx13 commented on pull request #8693: URL: https://github.com/apache/tvm/pull/8693#issuecomment-896516267
> @vinx13 Hey I am curious on the semantics of `StorageAlign`: why it works on an output buffer, instead of the buffer allocation side? I imagine that it could simplify the logic a bit (don't need to go up straight to find the alloc side) The semantic is to annotate producer block (multiple producers are allowed, the annotations will be unified during lowering). IMO the easiest way to specify the buffer in the API is block + write_buffer_index as `write_buffer_index` is more obvious than `alloc_buffer_index`, what do you think? -- 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]
