masahi commented on code in PR #13206:
URL: https://github.com/apache/tvm/pull/13206#discussion_r1007761967


##########
src/tir/schedule/primitive/cache_read_write.cc:
##########
@@ -297,7 +297,12 @@ bool CalculateAffineFlag(const ScheduleState& self, const 
StmtSRef& block_sref)
  * \param stage The stage to be inserted
  * \return A SeqStmt, the result after insertion
  */
-SeqStmt InsertCacheStage(const Stmt& stmt, int pos, const Stmt& stage) {
+Stmt InsertCacheStage(const Stmt& stmt, int pos, const Stmt& stage) {

Review Comment:
   It is not related but I found this bug while testing this branch. It happens 
on CPU when `link-params = True` is used and `cache_write` is applied during 
tuning. 



-- 
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]

Reply via email to