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

IntelPython / dpnp / 44781361409
84%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 07:00PM UTC
Jobs 1
Files 268
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

20 Nov 2026 05:14PM UTC coverage: 84.255%. Remained the same
44781361409

push

github

web-flow
Fix the OpenCL CPU compiler crash in the complex `dpnp.minmax` kernel (#3192)

This PR fixes an intermittent crash of the OpenCL CPU compiler in the
complex `dpnp.minmax` kernel, which has been failing the `Generate
coverage` job since `dpnp.minmax` landed in #3135 (e.g. [this
run](https://github.com/IntelPython/dpnp/actions/runs/43946499556/job/133577453161)).
pytest dies at about 59% of the dpnp tests in `TestMinMax::test_size`,
with a SIGABRT inside `libintelocl.so` or a silent SIGALRM.

Complex types can't use `sycl::reduce_over_group` with dpnp's min/max
operators, so they take `CustomMinMaxGroupReducer`. It reduced the
minimum and the maximum with two `custom_reduce_over_group` calls on the
same local memory, with a `group_barrier` between them. In the coverage
build (`-O1 -g1` plus device-side profiling for `minmax.cpp`), building
this kernel corrupts the compiler's heap in
`ReduceCrossBarrierValuesPass` (`malloc(): unsorted double linked list
corrupted` in `collectDependencies`). It is the same pass and the same
kind of corruption as the radix sort crash in #3191 (CMPLRLLVM-79305).

The barriers here are needed: work-items read local memory that others
wrote, so they can't become fences. This PR instead folds both extrema
in one tree over a local memory of twice the work-group size, with one
barrier per step for both. That gives the kernel the barrier structure
of `dpnp.max` on complex, which the coverage job builds without
crashing. The local memory is at most 64 KB for `complex128` on a CPU
(work-group capped at 2048) and 16 KB on a GPU (capped at 512).

On a Panther Lake host with the coverage build and the 2026.2.0 OpenCL
CPU runtime, the complex cases of `TestMinMax::test_size` on
`opencl:cpu` crashed in 5 of 20 runs before the change and in none of 20
after it, in alternating runs (17 of 48 vs 0 of 50 counting all runs).
The Release build doesn't crash before the change either (0 of 70). The
minmax tests of `test_statistics.py`, `test_sy... (continued)

1838 of 3094 branches covered (59.41%)

Branch coverage included in aggregate %.

30051 of 34754 relevant lines covered (86.47%)

40089.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44781361409.1 20 Nov 2026 07:00PM UTC 268
84.26
GitHub Action Run
Source Files on build 44781361409
  • Tree
  • List 268
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44781361409
  • 9d2a9ee2 on github
  • Prev Build on master (#44750113898)
  • Next Build on master (#44828036792)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc