LeiWang1999 commented on code in PR #17133:
URL: https://github.com/apache/tvm/pull/17133#discussion_r1705376695


##########
src/tir/transforms/lower_cross_thread_reduction.cc:
##########
@@ -120,12 +131,7 @@ bool IsReductionBlock(const BlockRealize& realize, const 
Map<Var, Range>& loop_r
   if (!ContainsOnlyDataParAndReductionBlockIter(block->iter_vars)) {
     return false;
   }
-  // Cond 4. Dominant: the block is the only writer of its output, dominating 
the reader of its
-  // output buffers.
-  if (!IsDominantBlock(scope_block, GetRef<Block>(block))) {
-    return false;
-  }

Review Comment:
   @wrongtest-intellif Thanks for your review, I'll take a look and give you 
response this Friday.



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