MCPcopy Create free account
hub / github.com/apache/tvm / main

Method main

tests/python/tirx-transform/test_tir_transform_vectorize.py:498–501  ·  view source on GitHub ↗
(A: T.Buffer((25,), "int32"))

Source from the content-addressed store, hash-verified

496 class Mod:
497 @T.prim_func(s_tir=True)
498 def main(A: T.Buffer((25,), "int32")):
499 n = T.Var("n", dtype="int32")
500 for j in T.vectorized(n):
501 A[j] = 3
502
503 error_msg = "Failed to vectorize loop with extent n for target None"
504 with pytest.raises(tvm.error.InternalError, match=error_msg):

Calls

no outgoing calls

Tested by

no test coverage detected