• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpnp / 30472381019
78%

Build:
DEFAULT BRANCH: master
Ran 29 Jul 2026 06:22PM UTC
Jobs 1
Files 263
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jul 2026 04:47PM UTC coverage: 78.406%. Remained the same
30472381019

push

github

web-flow
Re-enable dim=4 in strided matmul test with proper cross-BLAS tolerances (#2949)

## Summary

gh-2912 introduced two temporary test workarounds after a CI failure on
`ubuntu-latest`:
- widened the tolerance on `TestMatvec::test_axes` to `factor=40`;
- disabled the `dim=4` iteration in `TestMatmul::test_strided1`.

Both failures share the same benign root cause, so this PR re-enables
the disabled coverage and replaces the ad-hoc mitigations with
documented, dtype-aware tolerances:

- **`test_axes`** (matvec, float64) — keeps `factor=40`. dpnp computes
`matvec` via oneMKL `gemm_batch` while NumPy uses OpenBLAS `gemv`; the
summation order differs and the float64 result deviates at the noise
floor (~1.4e-14), which exceeds the default `8e-15` tolerance.
- **`test_strided1`** (matmul) — re-enables `dim=4`. dpnp copies the
strided input to c-contiguous and runs it through oneMKL `gemm_batch`,
again against NumPy's OpenBLAS. For float32, the length-20 contraction
deviates by ~1.87e-5, just above the old `factor=16` bound (~1.81e-5),
so the tolerance is bumped to `factor=24` **for float32 only**
(pass-bound ~2.27e-5). Integer input is compared exactly and is
unaffected.

## Root cause

Neither discrepancy is a dpnp correctness bug. Both are expected
floating-point non-associativity between two different BLAS backends
(oneMKL vs OpenBLAS), surfaced when the conda-forge NumPy in CI advanced
its bundled OpenBLAS. There is nothing to fix upstream, so documented
tolerances are the correct handling and let us keep full test coverage
(including `dim=4`).

1546 of 2884 branches covered (53.61%)

Branch coverage included in aggregate %.

26470 of 32848 relevant lines covered (80.58%)

7918.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30472381019.1 29 Jul 2026 06:22PM UTC 263
78.41
GitHub Action Run
Source Files on build 30472381019
  • Tree
  • List 263
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30472381019
  • 9a160785 on github
  • Prev Build on master (#30254056307)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc