junrushao1994 commented on a change in pull request #8863:
URL: https://github.com/apache/tvm/pull/8863#discussion_r698110223
##########
File path: src/tir/schedule/analysis.h
##########
@@ -56,6 +56,14 @@ void VerifyCachedFlags(const ScheduleState& self);
const PrimFuncNode* GetRootPrimFunc(const IRModule& mod, const StmtNode*
root_block,
GlobalVar* result_g_var);
+/******** SRef Tree Related ********/
+/*!
+ * \brief Get the root node of the sref tree, which is the root block of the
PrimFunc.
+ * \param sref The given sref.
+ * \return The root node of the sref tree which contains the given node.
+ */
+StmtSRef GetSRefTreeRoot(const StmtSRef& sref);
Review comment:
Move this into section "IR Module" given it is IR related
--
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]