Lunderberg opened a new pull request #10099: URL: https://github.com/apache/tvm/pull/10099
Supporting this use case required additional support on both the parsing side and the tvmscript printing side. * Parse pointer objects `T.Ptr[T.int32]` in TVMScript. Previously, there was no handling of `ast.TypeApply` in `TVMScriptParser`. * Call `T.buffer_decl` in the function body if the data variable is defined by Let/Allocate. Previously, these buffer declarations were hoisted to the function header, prior to the declaration of the data variable they require. These constructions come up in multiple cases in the updated unit tests for #9727, typically in round-trip unit tests for PrimFuncs that have been passed through `MakePackedAPI`. This change does not depend on the changes included in #9727, and is therefore kept separate. -- 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]
