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

IntelPython / dpnp / 23270759655
82%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2026 11:25PM UTC
Jobs 1
Files 216
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

18 Mar 2026 10:45PM UTC coverage: 81.384%. Remained the same
23270759655

push

github

web-flow
Resolve an issue with `.data.ptr` ignoring USM offset on array views (#2812)

The `create_data()` function had an early return when `usm_data` was
already a dpnp memory class instance, which skipped setting the `ptr`
attribute. This caused all array views to report the same base pointer,
making `arr[0].data.ptr == arr[1].data.ptr` even though they point to
different memory locations.

The PR proposes a fix ensuring `ptr` is always set to `x._pointer`,
which points to the start of the array's data (including any offset for
views), rather than `usm_data._pointer` which points to the base buffer.

Additionally, always create a new memory wrapper instance to avoid
shared state when the same `usm_data` is used for multiple views.

This PR closes #2781.

- [x] Have you provided a meaningful PR description?
- [x] Have you added a test, reproducer or referred to an issue with a
reproducer?
- [x] Have you tested your changes locally for CPU and GPU devices?
- [x] Have you made sure that new changes do not introduce compiler
warnings?
- [ ] Have you checked performance impact of proposed changes?
- [ ] Have you added documentation for your changes, if necessary?
- [x] Have you added your changes to the changelog?

1323 of 2442 branches covered (54.18%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

19784 of 23493 relevant lines covered (84.21%)

6869.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23270759655.1 18 Mar 2026 11:25PM UTC 216
81.38
GitHub Action Run
Source Files on build 23270759655
  • Tree
  • List 216
  • 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 #23270759655
  • 54d2109b on github
  • Prev Build on master (#23263354721)
  • Next Build on master (#23287962750)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc