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

IntelPython / dpctl / 7040079480 / 1
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2023 12:38AM UTC
Files 98
Run time 2s
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

30 Nov 2023 12:07AM UTC coverage: 77.86% (+0.04%) from 77.819%
7040079480.1

push

github

web-flow
Adds element-wise functions `angle` and `reciprocal` (#1474)

* Implements elementwise reciprocal

* Fixes typo in kernels/elementwise_functions/proj.hpp

* Implements elementwise angle

* UnaryElementwiseFunc class now takes an acceptance function

This change was made to mirror promotion behavior of divide in reciprocal

Adds getter method for the acceptance function

Adds tests for reciprocal

* Small bugfix in _zero_like

_zero_like did not have logic accounting for 0D arrays, so `x.imag` failed for 0D x

* _zero_like now allocates using the same sycl_queue

This prevents unexpected behavior when calling `imag`
i.e., for x with a real-valued data type
`dpctl.tensor.atan2(x.imag, x.real)` would not work prior to this change

* Fixes bugs in `real` and `imag` properties

The logic in these properties did not work for float16 data types, returning None instead of `self` or an array of zeros

* Adds tests for angle

* Adds tests for fixes to `real`/`imag` properties

* Adds test that `real`, `imag` use the same queue

* Correction to rsqrt docstring

* Change acceptance function names per feedback

`_acceptance_fn_default1` and `_acceptance_fn_default2` are now
`_acceptance_fn_default_unary` and `_acceptance_fn_default_binary`

3347 of 4456 branches covered (0.0%)

Branch coverage included in aggregate %.

11212 of 14243 relevant lines covered (78.72%)

6049.9 hits per line

Source Files on job 7040079480.1
  • Tree
  • List 98
  • Changed 28
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7040079480
  • b3ba5ac1 on github
  • Prev Job for on master (#6935669027.1)
  • Next Job for on master (#7089055747.1)
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