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

Function test_for

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

Source from the content-addressed store, hash-verified

253
254
255def test_for():
256 with IRBuilder() as ib:
257 with T.grid(128, 128, 128) as (i, j, k):
258 ib.name_many(["i", "j", "k"], [i, j, k])
259 T.evaluate(0)
260 obj = ib.get()
261 _assert_print(
262 obj,
263 """
264for i, j, k in T.grid(128, 128, 128):
265 T.evaluate(0)
266""",
267 )
268
269
270def test_bind():

Callers

nothing calls this directly

Calls 5

IRBuilderClass · 0.90
name_manyMethod · 0.80
_assert_printFunction · 0.70
evaluateMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…