MCPcopy
hub / github.com/apache/tvm / case1

Function case1

tests/python/tirx/test_layout.py:274–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272
273def test_normalize_tile_layout():
274 def case1():
275 layout = TileLayout(S[(8, 8, 8, 4, 2) : (512, 64, 8, 2, 1)])
276 layout_expected = TileLayout(S[4096:1])
277 assert_structural_equal(layout_expected, layout.canonicalize())
278
279 case1()
280

Callers 12

test_tile_layoutFunction · 0.85
test_direct_sumFunction · 0.85
test_tile_toFunction · 0.85
test_mma_shared_layoutFunction · 0.85
test_storageFunction · 0.85
test_unpackFunction · 0.85
test_packFunction · 0.85
test_sliceFunction · 0.85

Calls 15

can_proveMethod · 0.95
groupMethod · 0.95
TileLayoutClass · 0.90
assert_structural_equalFunction · 0.90
SwizzleLayoutClass · 0.90
ComposeLayoutClass · 0.90
AnalyzerClass · 0.90
mma_shared_layoutFunction · 0.90
printFunction · 0.85
canonicalizeMethod · 0.80
is_tile_innerMethod · 0.80
is_tile_outerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…