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

IntelPython / dpnp / 24083070219
82%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2026 01:53PM UTC
Jobs 1
Files 211
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

07 Apr 2026 01:09PM UTC coverage: 82.034%. Remained the same
24083070219

push

github

web-flow
Fix device-aware dtype handling in identity, gradient functions (#2835)

This PR ensures that default dtype selection respects device-specific
capabilities across multiple functions.

The PR includes changes:
- `dpnp.identity`: Remove redundant default dtype handling. The function
now delegates dtype resolution to dpnp.eye(), which already handles
device-aware default types correctly.
- `dpnp.gradient`: Pass sycl_queue parameter to default_float_type()
calls to ensure the selected float type is compatible with the device
where the array resides. This prevents issues when converting integer
arrays on devices with different dtype support.

The PR also updates SYCL queue tests to fix the parametrization to
generate device-dtype pairs using a new get_all_dev_dtypes() helper.
Each device is now tested only with dtypes it actually supports (e.g.,
devices without fp64 support won't test fp64), preventing false failures
and unnecessary test combinations.

1328 of 2420 branches covered (54.88%)

Branch coverage included in aggregate %.

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

19785 of 23317 relevant lines covered (84.85%)

6934.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24083070219.1 07 Apr 2026 01:53PM UTC 211
82.03
GitHub Action Run
Source Files on build 24083070219
  • Tree
  • List 211
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24083070219
  • d5230619 on github
  • Prev Build on master (#23847607234)
  • Next Build on master (#24088877249)
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