[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-22 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r734757408 ## File path: src/printer/tvmscript_printer.cc ## @@ -1049,15 +1068,24 @@ Doc TVMScriptPrinter::PrintBlockBody(const BlockNode* op) { return body; } -Do

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-21 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r734149662 ## File path: tests/python/unittest/test_tvmscript_error_report.py ## @@ -511,5 +512,77 @@ def render(e): # TODO(Siyuan): block iter errors. + +@T.prim_fu

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-21 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r734143755 ## File path: src/printer/tvmscript_printer.cc ## @@ -1343,12 +1371,60 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The prin

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-21 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r734134676 ## File path: tests/python/unittest/test_tir_schedule_reorder.py ## @@ -275,7 +275,7 @@ def test_reorder_fail_not_affine_bindings(): sch = tir.Schedule(el

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-21 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r734111701 ## File path: src/printer/tvmscript_printer.cc ## @@ -1343,12 +1360,149 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The pri

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-21 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r734110251 ## File path: tests/python/unittest/test_tir_schedule_reorder.py ## @@ -275,8 +275,37 @@ def test_reorder_fail_not_affine_bindings(): sch = tir.Schedule(e

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-19 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r732077240 ## File path: src/printer/tvmscript_printer.cc ## @@ -1343,12 +1343,111 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The pri

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-19 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r732077240 ## File path: src/printer/tvmscript_printer.cc ## @@ -1343,12 +1343,111 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The pri

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-18 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r731422912 ## File path: src/printer/tvmscript_printer.cc ## @@ -1279,12 +1279,105 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The pri

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-18 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r731377441 ## File path: src/printer/tvmscript_printer.cc ## @@ -1279,12 +1279,106 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The pri

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-18 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r731177913 ## File path: src/printer/tvmscript_printer.cc ## @@ -1279,12 +1279,106 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The pri

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-18 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r731167735 ## File path: src/printer/tvmscript_printer.cc ## @@ -1279,12 +1279,106 @@ Doc TVMScriptPrinter::PrintLoopStack() { return res; } +/*! + * \brief The pri

[GitHub] [tvm] vinx13 commented on a change in pull request #9306: [TIR] Add structural error printing for TensorIR

2021-10-18 Thread GitBox
vinx13 commented on a change in pull request #9306: URL: https://github.com/apache/tvm/pull/9306#discussion_r731001016 ## File path: src/tir/schedule/error.cc ## @@ -24,22 +24,31 @@ namespace tir { String ScheduleError::RenderReport(const String& primitive) const { IRModule