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

IntelPython / dpctl / 6645743769
86%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2023 09:08PM UTC
Jobs 1
Files 71
Run time 6s
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

25 Oct 2023 08:22PM UTC coverage: 85.735% (+0.01%) from 85.725%
6645743769

push

github

web-flow
Implements ``dpctl.tensor.clip`` (#1444)

* Implements dpctl.tensor.clip

* Clip now consistently yields max where max < min

sycl::clamp would yield max or min depending on the platform

A test has been added for this behavior

* Adds more tests for clip

* Removed redundant branches in clip and elementwise function calls

As the result dtype of the out array is already checked when overlap is checked, checking again later is superfluous

* Removed more redundant logic from clip

* Fixed order logic in clip

Now properly accounts for all three arrays in all branches

* Adds more compute follows data tests for clip

* Tests to increase coverage of _clip.py (#1451)

* Clip raises ValueError when types cannot be resolved

---------

Co-authored-by: Oleksandr Pavlyk <oleksandr.pavlyk@intel.com>

2767 of 3264 branches covered (0.0%)

Branch coverage included in aggregate %.

291 of 343 new or added lines in 2 files covered. (84.84%)

9091 of 10567 relevant lines covered (86.03%)

8022.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
52
85.4
dpctl/tensor/_clip.py
Jobs
ID Job ID Ran Files Coverage
1 6645743769.1 25 Oct 2023 09:08PM UTC 96
77.49
Source Files on build 6645743769
  • Tree
  • List 71
  • Changed 26
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2eba93ea on github
  • Prev Build on master (#6643490321)
  • Next Build on master (#6648408413)
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

© 2025 Coveralls, Inc