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

IntelPython / dpctl / 6648408413
86%

Build:
DEFAULT BRANCH: master
Ran 26 Oct 2023 02:41AM UTC
Jobs 1
Files 71
Run time 8s
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

26 Oct 2023 01:48AM UTC coverage: 85.748% (+0.01%) from 85.735%
6648408413

push

github

web-flow
Implements ``dpctl.tensor.logsumexp`` and ``dpctl.tensor.reduce_hypot`` (#1446)

* Implements logsumexp and reduce_hypot

* Implements dedicated kernels for temp reductions over axes 1 and 0 in contiguous arrays

* logsumexp and reduce_hypot no longer use atomics

This change was made to improve the accuracy of these functions

* Adds tests for reduce_hypot and logsumexp

* Arithmetic reductions no longer use atomics for inexact types

This change is intended to improve the numerical stability of sum and prod

* Removed support of atomic reduction for max and min

* Adds new tests for reductions

* Split reductions into multiple source files

* Remove unneccessary imports of reduction init functions

* Added functions for querying reduction atomic support per type per function

* Corrected ``min`` contig variant typo

These variants were using ``sycl::maximum`` rather than ``sycl::minimum``

* Removes _tree_reduction_over_axis

Use lambdas to ignore atomic-specific arguments to hypot and logsumexp dtype_supported functions

* Always use atomic implementation for min/max if available

For add/multiplies reductions, use tree reduction for FP types, real and complex,
to get better round-off accumulation properties.

* ``logaddexp`` implementation moved to math_utils

Reduces code repetition between logsumexp and logaddexp

---------

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

2800 of 3300 branches covered (0.0%)

Branch coverage included in aggregate %.

19 of 22 new or added lines in 2 files covered. (86.36%)

9107 of 10586 relevant lines covered (86.03%)

8053.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
92.58
-0.84% dpctl/tensor/_reduction.py
Jobs
ID Job ID Ran Files Coverage
1 6648408413.1 26 Oct 2023 02:42AM UTC 96
77.52
Source Files on build 6648408413
  • Tree
  • List 71
  • Changed 25
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 03fd7379 on github
  • Prev Build on master (#6645743769)
  • Next Build on master (#6661516512)
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