You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "Biubiubiu12 (via GitHub)" <gi...@apache.org> on 2023/07/21 02:02:54 UTC

[GitHub] [tvm] Biubiubiu12 commented on a diff in pull request #15274: [TIR][Schedule] Refactor blockize implementation logic by pass

Biubiubiu12 commented on code in PR #15274:
URL: https://github.com/apache/tvm/pull/15274#discussion_r1270157349


##########
src/tir/schedule/primitive/blockize_tensorize.cc:
##########
@@ -565,58 +569,230 @@ StmtSRef Blockize(ScheduleState self, const StmtSRef& loop_sref, bool preserve_u
   return result;
 }
 
-BlockRealize BlockizeBlocks(const ScheduleState& self, const Array<StmtSRef>& block_srefs,
-                            const StmtSRef& lca, Map<Block, Block>* block_sref_reuse,
-                            bool preserve_unit_iters) {
+class CollectSubstInfo : public StmtVisitor {

Review Comment:
   It is to collect the external loop information of the common ancestor of the block list, and to replace some block and loop variables in BlockizeBlocks



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org