()
| 233 | |
| 234 | |
| 235 | def test_ex_8_6_factor_fail(): |
| 236 | ctx = ExecContext.at_kernel_entry(warp_ext=16).with_scope_switch(CTA) |
| 237 | # with_filter recomputes (inter, intra) for current scope_kind=cta -- still OK |
| 238 | ctx2 = ctx.with_filter(WARP_FLAT, 2, 6) |
| 239 | assert ctx2.A.warpid == AxisRange(4, 2) |
| 240 | # scope_switch to warpgroup is the one that must fail |
| 241 | with pytest.raises(ExecContextError, match="crosses warpgroup boundary"): |
| 242 | ctx2.with_scope_switch(WARPGROUP) |
| 243 | |
| 244 | |
| 245 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected
searching dependent graphs…