1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- # pylint: disable=invalid-name
17+ # pylint: disable=invalid-name,missing-function-docstring
1818"""Intrinsics for ARM tensorization."""
1919from tvm .script import tir as T
2020from .. import TensorIntrin
@@ -30,9 +30,6 @@ def dot_product_4x4_i8i8i32_desc(
3030 B : T .Buffer ((4 , 4 ), "int8" , offset_factor = 1 ),
3131 C : T .Buffer ((4 ,), "int32" , offset_factor = 1 ),
3232) -> None :
33- """
34- A description for 4x4 dot product.
35- """
3633 with T .block ("root" ):
3734 T .reads (C [0 :4 ], A [0 :4 ], B [0 :4 , 0 :4 ])
3835 T .writes (C [0 :4 ])
@@ -51,9 +48,6 @@ def dot_product_4x4_i8i8i32_neon(
5148 B : T .Buffer ((4 , 4 ), "int8" , offset_factor = 1 ),
5249 C : T .Buffer ((4 ,), "int32" , offset_factor = 1 ),
5350) -> None :
54- """
55- A implementation for 4x4 dot product, applicable for any ARM CPUs supporting NEON.
56- """
5751 with T .block ("root" ):
5852 T .reads (C [0 :4 ], A [0 :4 ], B [0 :4 , 0 :4 ])
5953 T .writes (C [0 :4 ])
@@ -115,9 +109,6 @@ def dot_product_4x4_i8i8i32_sdot(
115109 B : T .Buffer ((4 , 4 ), "int8" , offset_factor = 1 ),
116110 C : T .Buffer ((4 ,), "int32" , offset_factor = 1 ),
117111) -> None :
118- """
119- A implementation for 4x4 dot product, applicable for ARM CPUs supporting sdot.
120- """
121112 with T .block ("root" ):
122113 T .reads (C [0 :4 ], A [0 :4 ], B [0 :4 , 0 :4 ])
123114 T .writes (C [0 :4 ])
0 commit comments