You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/08/02 23:17:39 UTC
[GitHub] [tvm] areusch commented on a change in pull request #8452: Pass resource_handle to operators with unpacked API
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org