MCPcopy Index your code
hub / github.com/apache/tvm / test_buffer_load

Function test_buffer_load

tests/python/tvmscript/test_tvmscript_printer_tir.py:229–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227
228
229def test_buffer_load():
230 a = tirx.decl_buffer((128, 128), "float16", name="A")
231 obj = tirx.BufferLoad(a, [128, 128])
232 _assert_print(
233 obj,
234 """
235A = T.Buffer((128, 128), "float16")
236A[128, 128]
237""",
238 )
239
240
241def test_buffer_store():

Callers

nothing calls this directly

Calls 1

_assert_printFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…