areusch commented on a change in pull request #8452:
URL: https://github.com/apache/tvm/pull/8452#discussion_r681322876
##########
File path: include/tvm/tir/function.h
##########
@@ -90,13 +90,16 @@ class PrimFuncNode : public BaseFuncNode {
* will make program analysis much easier.
*/
Map<tir::Var, Buffer> buffer_map;
+ /*! \brief The resource handle to be used by the function when accessing
platform resources */
+ tir::Var resource_handle;
Review comment:
it seems like this should be a property of the call site rather than a
function. how come you want to add it 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]