Skip to content

Commit

Permalink
more lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Apr 7, 2022
1 parent 15e60b4 commit 07bbb38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/tvm/script/tir/special_stmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ def env_thread(env_name, span):
self.context.report_error(
f"VarDef expected assign to only one var, but got {names}", span
)
v = Var(names[0], span=span)
v = Var(names[0], dtype="int32", span=span)
self.context.func_var_env_dict[v] = env_name
self.context.update_symbol(v.name, v, self.node)

Expand Down
4 changes: 2 additions & 2 deletions python/tvm/tir/tensor_intrin/arm_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
# specific language governing permissions and limitations
# under the License.
# pylint: disable=invalid-name
"""Intrinsics for x86 tensorization."""
from .. import TensorIntrin
"""Intrinsics for ARM tensorization."""
from tvm.script import tir as T
from .. import TensorIntrin


# TODO(masahi): Parametrize the TVMScript description of dot product by
Expand Down

0 comments on commit 07bbb38

Please sign in to comment.