(A: T.Buffer((4,), "uint32"), B: T.Buffer((4,), "uint8"))
| 899 | def test_invalid_reinterpret(): |
| 900 | @T.prim_func(s_tir=True) |
| 901 | def func(A: T.Buffer((4,), "uint32"), B: T.Buffer((4,), "uint8")) -> None: |
| 902 | for tx in T.thread_binding(4, "threadIdx.x"): |
| 903 | B[tx] = T.call_intrin("uint8", "tirx.reinterpret", A[tx]) |
| 904 | |
| 905 | with pytest.raises(RuntimeError): |
| 906 | tvm.compile(func, target="cuda") |
no outgoing calls
no test coverage detected
searching dependent graphs…