Skip to content

Commit 2ae0991

Browse files
authored
[TRITON] fix gluon test skipping logic (#1566)
1 parent aae5b49 commit 2ae0991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

op_tests/triton_tests/test_gemm_a8w8_blockscale.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ def test_gemm(dtype, M, N, K, layout, output, impl: str):
184184

185185
block_shape_n, block_shape_k = block_shape
186186

187-
if impl == "gluon" and int(DEVICE_ARCH.split("MI")[1].replace("X", "")) < 350:
187+
if impl == "gluon" and DEVICE_ARCH not in ("gfx950",):
188188
pytest.skip(
189-
"Gluon implementation is not supported on this device (requires CDNA4)."
189+
"Gluon implementation is not supported on this device (requires CDNA4/gfx950)."
190190
)
191191

192192
dtype = str_to_torch_dtype[dtype]

0 commit comments

Comments
 (0)