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

Function test_scope_switch_trivial

tests/python/tirx/test_exec_context.py:96–100  ·  view source on GitHub ↗
(kappa, expected_inter_axes, expected_intra_axes)

Source from the content-addressed store, hash-verified

94 ],
95)
96def test_scope_switch_trivial(kappa, expected_inter_axes, expected_intra_axes):
97 A = initial_A(warp_ext=16, cta_ext=4)
98 split = scope_switch(A, kappa)
99 assert set(split.inter) == expected_inter_axes
100 assert set(split.intra) == expected_intra_axes
101
102
103def test_scope_switch_warpgroup_aligned():

Callers

nothing calls this directly

Calls 2

initial_AFunction · 0.90
scope_switchFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…