junrushao commented on PR #16111: URL: https://github.com/apache/tvm/pull/16111#issuecomment-1807336826
> there will be multiple allocations of the output buffer? My primary concern is about over-allocated being kept for an indefinite life span, not merely a function being called multiple times. > so that we can avoid memory fragmentation in runtime when using a pool allocator. Yeah this is definitely good to reduce fragmentation, but it also leads to unnecessary memory over-allocation and potential waste, so there's definitely a trade-off here. -- 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]
