This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a98ea2e4f [TIR] Minor fix to tensor intrin description (#12356)
1a98ea2e4f is described below

commit 1a98ea2e4faf791eb8ec239209904ff96c016052
Author: masahi <[email protected]>
AuthorDate: Wed Aug 10 14:17:17 2022 +0900

    [TIR] Minor fix to tensor intrin description (#12356)
---
 python/tvm/tir/tensor_intrin/arm_cpu.py | 2 --
 python/tvm/tir/tensor_intrin/x86.py     | 2 --
 2 files changed, 4 deletions(-)

diff --git a/python/tvm/tir/tensor_intrin/arm_cpu.py 
b/python/tvm/tir/tensor_intrin/arm_cpu.py
index 6e16b1f767..3e934e1b9d 100644
--- a/python/tvm/tir/tensor_intrin/arm_cpu.py
+++ b/python/tvm/tir/tensor_intrin/arm_cpu.py
@@ -34,8 +34,6 @@ def dot_product_4x4_i8i8i32_desc(
         T.reads(C[0:4], A[0:4], B[0:4, 0:4])
         T.writes(C[0:4])
         for i in T.serial(0, 4):
-            with T.init():
-                C[i] = T.int32(0)
             for k in T.serial(0, 4):
                 with T.block("update"):
                     vi, vk = T.axis.remap("SR", [i, k])
diff --git a/python/tvm/tir/tensor_intrin/x86.py 
b/python/tvm/tir/tensor_intrin/x86.py
index ee57c9aa47..f1c6032287 100644
--- a/python/tvm/tir/tensor_intrin/x86.py
+++ b/python/tvm/tir/tensor_intrin/x86.py
@@ -34,8 +34,6 @@ def dot_product_16x4_u8i8i32_desc(
         T.reads(C[0:16], A[0:4], B[0:16, 0:4])
         T.writes(C[0:16])
         for i in T.serial(0, 16):
-            with T.init():
-                C[i] = T.int32(0)
             for k in T.serial(0, 4):
                 with T.block("update"):
                     vi, vk = T.axis.remap("SR", [i, k])

Reply via email to