ekalda commented on code in PR #16893: URL: https://github.com/apache/tvm/pull/16893#discussion_r1572114006
########## tests/python/tir-transform/test_tir_transform_vectorize.py: ########## @@ -99,26 +105,29 @@ def main(A: T.Buffer((25,), "float32")): error_msg = f"Vectorizing over existing scalable vectors is not supported." with pytest.raises(tvm.error.InternalError, match=error_msg): - tvm.tir.transform.VectorizeLoop()(Module) + with tvm.target.Target(sve_target): + tvm.tir.transform.VectorizeLoop()(Module) def test_vectorize_vector_scalable_error4(): @I.ir_module class Module: @T.prim_func(private=True) def main(A: T.Buffer((25,), "float32")): + T.func_attr({"target": sve_target}) Review Comment: Oops no, will remove. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org