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

IntelPython / dpnp / 30254056307
78%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2026 11:07AM 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

27 Jul 2026 09:27AM UTC coverage: 78.406% (+0.006%) from 78.4%
30254056307

push

github

web-flow
Fix missing strides validation in `dpnp.tensor.usm_ndarray` (#2927)

This PR proposes to fix #2881 issue.

The problem was that `usm_ndarray` constructor did not validate
user-provided strides when allocating new memory.
This made it possible to create arrays with invalid stride patterns
producing negative memory displacement or oversized memory footprints.

This PR adds validation for invalid stride configurations when
allocating new memory and raises `ValueError` for unsupported strides.
It also adds a new `test_ctor_invalid_strides` in
`test_usm_ndarray_ctor.py` to cover these cases

1546 of 2884 branches covered (53.61%)

Branch coverage included in aggregate %.

13 of 23 new or added lines in 1 file covered. (56.52%)

1 existing line in 1 file now uncovered.

26470 of 32848 relevant lines covered (80.58%)

7923.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
74.97
0.3% dpnp/tensor/_usmarray.pyx

Coverage Regressions

Lines Coverage ∆ File
1
74.97
0.3% dpnp/tensor/_usmarray.pyx
Jobs
ID Job ID Ran Files Coverage
1 30254056307.1 27 Jul 2026 11:07AM UTC 263
78.41
GitHub Action Run
Source Files on build 30254056307
  • Tree
  • List 263
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30254056307
  • 1ebd2d36 on github
  • Prev Build on master (#30203837131)
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