From 4460d3ee7f2324d2642350a9d1650776d4fac981 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 26 Jul 2024 15:07:52 +0200 Subject: [PATCH] re-enable the sgesdd benchmark --- benchmark/pybench/benchmarks/bench_blas.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/benchmark/pybench/benchmarks/bench_blas.py b/benchmark/pybench/benchmarks/bench_blas.py index 628c0cb2a6..8127dd0c7d 100644 --- a/benchmark/pybench/benchmarks/bench_blas.py +++ b/benchmark/pybench/benchmarks/bench_blas.py @@ -234,14 +234,10 @@ def test_gesdd(benchmark, mn, variant): gesdd = ow.get_func('gesdd', variant) u, s, vt, info = benchmark(run_gesdd, a, lwork, gesdd) - if variant != 's': - # On entry to SLASCL parameter number 4 had an illegal value - # under codspeed (cannot repro locally or on CI w/o codspeed) - # https://github.com/OpenMathLib/OpenBLAS/issues/4776 - assert info == 0 - - atol = {'s': 1e-5, 'd': 1e-13} - np.testing.assert_allclose(u @ np.diag(s) @ vt, a, atol=atol[variant]) + assert info == 0 + + atol = {'s': 1e-5, 'd': 1e-13} + np.testing.assert_allclose(u @ np.diag(s) @ vt, a, atol=atol[variant]) # linalg.eigh