junrushao1994 commented on a change in pull request #9041:
URL: https://github.com/apache/tvm/pull/9041#discussion_r713606220



##########
File path: include/tvm/tir/schedule/schedule.h
##########
@@ -364,6 +364,17 @@ class ScheduleNode : public runtime::Object {
    */
   virtual void ReverseComputeInline(const BlockRV& block) = 0;
   /******** Schedule: Reduction ********/
+  /*!
+   * \brief Decompose a reduction block into init block and update block, 
where the newly generated
+     init block will be before the specified loop.

Review comment:
       ```suggestion
      * \brief Decompose a reduction block into two separate blocks.
      * a) The init block, which is translated from the init statement of the 
reduction block;
      * b) The update block, which is the original block without init statement.
      * 
      * The init block is inserted right before the given loop.
      * 
      * The schedule primitive requires:
   ```




-- 
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-unsubscr...@tvm.apache.org

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


Reply via email to