Lunderberg commented on PR #17103: URL: https://github.com/apache/tvm/pull/17103#issuecomment-2176399589
Using the Object system requires a C++ compiler, and a C++ runtime. The FFI supports targets that only have a C compiler and a C runtime. The initial implementation in https://github.com/apache/tvm/pull/16836 used the Object system, and failure on C-only backends was caught by CI. See [this comment](https://github.com/apache/tvm/pull/16836#issuecomment-2077686494) for details. This commit does not introduce any heap allocations that were not already present, and in fact does the complete opposite. It adds the ability to express a return value that doesn't require a heap allocation. -- 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]
