[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-28 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r716920036 ## File path: src/tir/schedule/state.cc ## @@ -206,25 +188,11 @@ class StateCreator : private StmtVisitor { * \param stmt A for-loop statement or a

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717228066 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717227641 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717225041 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717224898 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717223253 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717173337 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717024869 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717022936 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717022936 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717022306 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717006103 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r717004462 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r716935541 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,283 @@ namespace tvm { namespace tir { +/*! + * \brief A helper class to

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r716925384 ## File path: src/tir/schedule/state.cc ## @@ -421,6 +389,86 @@ class StateCreator : private StmtVisitor { arith::Analyzer analyzer_; }; +/*!

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r716922693 ## File path: src/tir/schedule/state.cc ## @@ -421,6 +389,86 @@ class StateCreator : private StmtVisitor { arith::Analyzer analyzer_; }; +/*!

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r716921095 ## File path: include/tvm/tir/schedule/state.h ## @@ -142,6 +142,8 @@ class ScheduleStateNode : public Object { / Property of blocks

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-27 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r716920036 ## File path: src/tir/schedule/state.cc ## @@ -206,25 +188,11 @@ class StateCreator : private StmtVisitor { * \param stmt A for-loop statement or a

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-24 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r715349916 ## File path: src/tir/schedule/state.cc ## @@ -206,25 +188,11 @@ class StateCreator : private StmtVisitor { * \param stmt A for-loop statement or a

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-22 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r714278995 ## File path: src/tir/schedule/primitive/reduction.cc ## @@ -21,6 +21,289 @@ namespace tvm { namespace tir { +bool ListContainsElement(const Array&

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-22 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r713628506 ## File path: include/tvm/tir/schedule/state.h ## @@ -142,6 +142,8 @@ class ScheduleStateNode : public Object { / Property of blocks

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-22 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r713617813 ## File path: src/tir/schedule/state.cc ## @@ -206,25 +188,11 @@ class StateCreator : private StmtVisitor { * \param stmt A for-loop statement or a

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-21 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r713613369 ## File path: python/tvm/tir/schedule/schedule.py ## @@ -1223,6 +1223,70 @@ def after_inline(a: ty.handle, c: ty.handle) -> None: ##

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-21 Thread GitBox
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

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-21 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r713560746 ## File path: include/tvm/tir/schedule/schedule.h ## @@ -364,6 +364,17 @@ class ScheduleNode : public runtime::Object { */ virtual void

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9041: [TensorIR][M2a] Decompose-Reduction

2021-09-21 Thread GitBox
junrushao1994 commented on a change in pull request #9041: URL: https://github.com/apache/tvm/pull/9041#discussion_r713522208 ## File path: src/tir/schedule/primitive/loop_transformation.cc ## @@ -482,7 +482,7 @@ StmtSRef Fuse(ScheduleState self, const Array& loop_srefs) {