Skip to content

Commit 9872abc

Browse files
authored
Temporary mute tests for dpnp.solve (#1762)
* Temporary mute tests for dpnp.solve * Corrected the mute condition * Update tests/third_party/cupy/linalg_tests/test_solve.py * Update tests/third_party/cupy/linalg_tests/test_solve.py * Moved skip mark to a proper call
1 parent c06e457 commit 9872abc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def check_x(self, a_shape, b_shape, xp, dtype):
4747
testing.assert_array_equal(b_copy, b)
4848
return result
4949

50+
@pytest.mark.skipif(is_cpu_device(), reason="SAT-6842")
5051
def test_solve(self):
5152
self.check_x((4, 4), (4,))
5253
self.check_x((5, 5), (5, 2))

0 commit comments

Comments
 (0)