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

Function func

tests/python/codegen/test_target_codegen_cuda.py:901–903  ·  view source on GitHub ↗
(A: T.Buffer((4,), "uint32"), B: T.Buffer((4,), "uint8"))

Source from the content-addressed store, hash-verified

899def 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")

Callers 5

verifyFunction · 0.70
checkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…