Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/linalg_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2330,6 +2330,10 @@ def test_tridiagonal_solve_endpoints(self):

@jtu.sample_product(shape=[(3,), (3, 4)], dtype=float_types + complex_types)
def test_tridiagonal_solve_grad(self, shape, dtype):
if jtu.is_device_rocm() and shape == (3, 4) and dtype == np.float32:
# numerical errors seen as of ROCm 7.2 due to rocSparse issue for grad0 variant
# TODO: re-enable the test once the rocSparse issue is fixed
self.skipTest("test_tridiagonal_solve_grad0 not supported on ROCm due to rocSparse issue")
if dtype not in float_types and jtu.test_device_matches(["gpu"]):
self.skipTest("Data type not supported on GPU")
rng = self.rng()
Expand Down