Skip to content

Commit 2c19dec

Browse files
authored
Merge 40cdd49 into c06e457
2 parents c06e457 + 40cdd49 commit 2c19dec

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/test_usm_type.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,9 @@ def test_clip(usm_type):
787787
)
788788
def test_solve(matrix, vector, usm_type_matrix, usm_type_vector):
789789
x = dp.array(matrix, usm_type=usm_type_matrix)
790+
if x.ndim > 2 and x.device.sycl_device.is_cpu:
791+
pytest.skip("SAT-6842: reported hanging in public CI")
792+
790793
y = dp.array(vector, usm_type=usm_type_vector)
791794
z = dp.linalg.solve(x, y)
792795

tests/third_party/cupy/linalg_tests/test_solve.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
assert_dtype_allclose,
99
has_support_aspect64,
1010
is_cpu_device,
11+
is_win_platform,
1112
)
1213
from tests.third_party.cupy import testing
1314
from tests.third_party.cupy.testing import _condition
@@ -35,6 +36,9 @@ class TestSolve(unittest.TestCase):
3536
@testing.numpy_cupy_allclose(
3637
atol=1e-3, contiguous_check=False, type_check=has_support_aspect64()
3738
)
39+
@pytest.mark.skipif(
40+
is_cpu_device() and is_win_platform(), reason="SAT-6842"
41+
)
3842
def check_x(self, a_shape, b_shape, xp, dtype):
3943
a = testing.shaped_random(a_shape, xp, dtype=dtype, seed=0, scale=20)
4044
b = testing.shaped_random(b_shape, xp, dtype=dtype, seed=1)

0 commit comments

Comments
 (0)