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

Function swizzle_layout_span

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

Source from the content-addressed store, hash-verified

1015 tile_layout_span()
1016
1017 def swizzle_layout_span():
1018 layout = SwizzleLayout(per_element=3, swizzle_len=3, atom_len=3)
1019 assert layout.span() == 512
1020 layout = SwizzleLayout(per_element=4, swizzle_len=3, atom_len=3)
1021 assert layout.span() == 1024
1022
1023 swizzle_layout_span()
1024

Callers 1

test_size_spanFunction · 0.85

Calls 2

SwizzleLayoutClass · 0.90
spanMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…