tkonolige commented on a change in pull request #8623:
URL: https://github.com/apache/tvm/pull/8623#discussion_r682121713
##########
File path: include/tvm/tir/schedule/schedule.h
##########
@@ -299,6 +302,20 @@ class Schedule : public runtime::ObjectRef {
*/
TVM_DLL static Schedule Concrete(IRModule mod, int debug_mode,
ScheduleErrorRenderLevel
error_render_level);
+ /*!
+ * \brief Construct a traced concrete TensorIR schedule from an IRModule
+ * \param mod The IRModule to be scheduled
+ * \param debug_mode Do extra correctness checking after the class creation
+ * and each time after calling the Replace method.
+ * \param error_render_level The level of error rendering
+ * \return The concrete schedule created
+ * \sa ScheduleDebugMask
+ * \note The checks performed include:
+ * 1) VerifySRefTree
+ * 2) VerifyCachedFlags
+ */
+ TVM_DLL static Schedule Traced(IRModule mod, int debug_mode,
Review comment:
Also the name `debug_mode` implies that this is an integral value, when
it is in fact a mask. Could we use something like `debug_mask` instead?
--
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]