@@ -185,7 +185,8 @@ SeqStmt InsertCacheStage(const Stmt& stmt, int pos, const Stmt& stage) {
185185 * \param self The state of the schedule
186186 * \param scope_sref The scope block where the write is considered
187187 * \param buffer The queried buffer
188- * \return The sref of the only writer of the input buffer in the given scope, or `NullOpt` if no block writes it in the scope.
188+ * \return The sref of the only writer of the input buffer in the given scope,
189+ * or `NullOpt` if no block writes it in the scope.
189190 * \throw NotSingleWriteBlock if there are more than one intrested block.
190191 */
191192Optional<StmtSRef> GetOnlyWriteBlock (ScheduleState self, const StmtSRef& scope_sref,
@@ -239,11 +240,10 @@ BufferRegion RelaxBufferRegion(ScheduleState self, const BufferRegion& buffer_re
239240class CacheLocDetector : public StmtVisitor {
240241 public:
241242 /* !
242- * \brief Detect the insertion position of the cache stage, and write the position into the CacheStageInfo
243- * \param self The state of the schedule
244- * \param block_sref The sref of the unique writer block of the buffer being applied cache_read or cache_write
245- * \param scope_sref The sref of the scope block of the cached block
246- * \param info The cache stage info.
243+ * \brief Detect the insertion position of the cache stage, and write the position into the
244+ * CacheStageInfo \param self The state of the schedule \param block_sref The sref of the unique
245+ * writer block of the buffer being applied cache_read or cache_write \param scope_sref The sref
246+ * of the scope block of the cached block \param info The cache stage info.
247247 */
248248 static void Detect (const ScheduleState& self, const StmtSRef& block_sref,
249249 const StmtSRef& scope_sref, CacheStageInfo* info) {
@@ -269,9 +269,9 @@ class CacheLocDetector : public StmtVisitor {
269269 /* !
270270 * \brief Constructor
271271 * \param self The state of the schedule
272- * \param block_sref The sref of the unique writer block of the buffer being applied cache_read or cache_write
273- * \param scope_sref The sref of the scope block of the cached block
274- * \param related_blocks Producer blocks for cache_write, or consumer blocks for cache_read
272+ * \param block_sref The sref of the unique writer block of the buffer being applied cache_read or
273+ * cache_write \param scope_sref The sref of the scope block of the cached block \param
274+ * related_blocks Producer blocks for cache_write, or consumer blocks for cache_read
275275 */
276276 CacheLocDetector (const ScheduleState self, const StmtSRef& block_sref, const StmtSRef& scope_sref,
277277 const std::vector<StmtSRef>& related_blocks)
0 commit comments