You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(hipblaslt): skip gfx1250 subtile codegen tests on other archs (#8893)
ISSUE ID : AIHPBLAS-3658
## Motivation
Address test failures on gfx950
```
FAILED Tensile/Tests/unit/test_subtile_gfx1250_codegen.py::TestGfx1250SubtileCodegen::test_gr_ptr_updates_tdm[A] - AssertionError: assert 's_add_u64' in '/* TDM addr update: A += 128 */\ns_add_u32 s[sgprAddressA], s[sgprAddressA], 128\n\ns_addc_u32 s[sgprAddressA+1], s[sgprAddressA+1], 128\ns_mov_b64 s[sgprtdmAGroup0+2:sgprtdmAGroup0+2+1], s[sgprAddressA:sgprAddressA+1] // sync ...
FAILED Tensile/Tests/unit/test_subtile_gfx1250_codegen.py::TestGfx1250SubtileCodegen::test_gr_ptr_updates_tdm[B] - AssertionError: assert 's_add_u64' in '/* TDM addr update: B += 128 */\ns_add_u32 s[sgprAddressB], s[sgprAddressB], 128\n\ns_addc_u32 s[sgprAddressB+1], s[sgprAddressB+1], 128\ns_mov_b64 s[sgprtdmBGroup0+2:sgprtdmBGroup0+2+1], s[sgprAddressB:sgprAddressB+1] // sync ...
```
## Technical Details
Rocisa emits two u32 instructions on gfx950 and a single u64 on gfx1250.
Use pytestmark skipif + a module-scoped fixture to pin rocisa to
gfx1250, matching the pattern in test_emitMfmaInstruction.py. On
machines with an older amdclang++ that does not know gfx1250, the entire
module is skipped instead of failing with wrong encodings.
## Test
Expect CI to pass.
0 commit comments