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

Function compose_layout_span

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

Source from the content-addressed store, hash-verified

1023 swizzle_layout_span()
1024
1025 def compose_layout_span():
1026 layout = ComposeLayout(
1027 SwizzleLayout(per_element=3, swizzle_len=3, atom_len=3),
1028 TileLayout(S[(8, 64) : (64, 1)]),
1029 )
1030 assert layout.span() == 512
1031
1032 compose_layout_span()
1033

Callers 1

test_size_spanFunction · 0.85

Calls 4

ComposeLayoutClass · 0.90
SwizzleLayoutClass · 0.90
TileLayoutClass · 0.90
spanMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…