Skip to content

Commit 483f9ea

Browse files
authored
[AMD] Disable flaky atomic cas test on CDNA2 (#8376)
Also makes the optional gfx90a bots not failing other runners.
1 parent 60605d8 commit 483f9ea

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/integration-tests-amd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
integration-tests-amd:
1212
runs-on: ${{ matrix.runner }}
1313
timeout-minutes: 45
14+
continue-on-error: ${{ matrix.runner[1] == 'gfx90a' }}
1415
strategy:
1516
matrix:
1617
runner: ${{ fromJson(inputs.matrix) }}

python/test/unit/language/test_core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,8 @@ def kernel(X, SHAPE0: tl.constexpr, SHAPE1: tl.constexpr):
16171617
@pytest.mark.parametrize("num_ctas", num_ctas_list)
16181618
@pytest.mark.parametrize("dtype_str", ["int32", "int64"])
16191619
def test_atomic_cas(sem, num_ctas, dtype_str, device):
1620+
if is_hip_cdna2():
1621+
pytest.skip("Disabled due to being flaky on CDNA2")
16201622
# 1. make sure that atomic_cas changes the original value (Lock)
16211623
@triton.jit
16221624
def change_value(Lock, triton_dtype: tl.constexpr):

0 commit comments

Comments
 (0)