tqchen commented on code in PR #14020: URL: https://github.com/apache/tvm/pull/14020#discussion_r1110532697
########## include/tvm/tir/function.h: ########## @@ -325,6 +325,13 @@ constexpr const char* kIsEntryFunc = "tir.is_entry_func"; */ constexpr const char* kIsGlobalFunc = "tir.is_global_func"; +/*! + * \brief Mark the function as run on the host, mutually exclusive with kTarget. Review Comment: When a function have kIsHostFunc attribute, it should not contain target attribute -- 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]
