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

Function test_scope_switch_warpgroup_aligned

tests/python/tirx/test_exec_context.py:103–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def test_scope_switch_warpgroup_aligned():
104 A = initial_A(warp_ext=16)
105 split = scope_switch(A, WARPGROUP)
106 assert split.inter["wgid"] == AxisRange(4, 0)
107 assert split.inter["cta_id"] == AxisRange(1, 0)
108 assert split.intra["laneid"] == AxisRange(32, 0)
109 assert split.intra["wid_in_wg"] == AxisRange(4, 0)
110
111
112# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

initial_AFunction · 0.90
scope_switchFunction · 0.90
AxisRangeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…