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

Function test_ex_8_5_partial_wg

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

Source from the content-addressed store, hash-verified

220
221
222def test_ex_8_5_partial_wg():
223 ctx = ExecContext.at_kernel_entry(warp_ext=16).with_scope_switch(CTA)
224 ctx = ctx.with_filter(WARP_FLAT, 0, 2).with_scope_switch(WARPGROUP)
225 # case 2: 2 <= 4-0
226 assert ctx.inter == {"wgid": AxisRange(1, 0), "cta_id": AxisRange(1, 0)}
227 assert ctx.intra == {"laneid": AxisRange(32, 0), "wid_in_wg": AxisRange(2, 0)}
228
229
230# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 4

AxisRangeClass · 0.90
with_scope_switchMethod · 0.80
at_kernel_entryMethod · 0.80
with_filterMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…