← Back to Pull requests

Update GPUArrays requirement from 11.4.1 to 11.4.1, 12.1 in the all-julia-packages group across 1 directory #585

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Oct 16, 2026 07:56 UTC
Author

[//]: # (dependabot-start)
⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Updates the requirements on GPUArrays to permit the latest version.
Updates GPUArrays to 12.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/JuliaGPU/GPUArrays.jl/releases">GPUArrays's releases</a>.</em></p>
<blockquote>
<h2>v12.1.0</h2>
<h2>GPUArrays v12.1.0</h2>
<p><a href="https://github.com/JuliaGPU/GPUArrays.jl/compare/v12.0.3...v12.1.0">Diff since v12.0.3</a></p>
<p><strong>Merged pull requests:</strong></p>
<ul>
<li>Define alias detection for every GPU array through a location hook (<a href="https://redirect.github.com/JuliaGPU/GPUArrays.jl/issues/811">#811</a>) (<a href="https://github.com/maleadt"><code>@​maleadt</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/JuliaGPU/GPUArrays.jl/blob/main/NEWS.md">GPUArrays's changelog</a>.</em></p>
<blockquote>
<h1>GPUArrays.jl release history</h1>
<p>This document lists the noteworthy changes in GPUArrays.jl releases that back-ends act on,
newest first, aimed at the authors of back-end packages. For the complete list of merged
pull requests, see the <a href="https://github.com/JuliaGPU/GPUArrays.jl/releases">GitHub releases</a>.</p>
<h2>v12.1</h2>
<p>GPUArrays defines <code>Base.dataids</code> and <code>Base.mightalias</code> for every <code>AbstractGPUArray</code>. A
back-end that implements the new <code>GPUArrays.memory_location</code> hook (the coordinate of an
array's allocation, normally its address, and its byte offset into it) gets precise alias
detection: disjoint views of one buffer don't alias, empty arrays alias nothing on every
Julia version, and <code>SubArray</code>s of two such arrays are compared without converting their
parents to pointers. Arrays wrapped in a <code>SubArray</code> or other wrapper are still compared by
allocation, which is conservative. Back-ends should implement the hook and delete their own
<code>dataids</code> and <code>mightalias</code> methods, which would keep winning dispatch.</p>
<h2>v12.0</h2>
<p>Base's reductions, sorting, scans, <code>findall</code>, logical indexing and <code>reverse</code> are now
implemented once for every <code>AnyGPUArray</code>, on top of
<a href="https://github.com/JuliaGPU/AcceleratedKernels.jl">AcceleratedKernels.jl</a> (AK) 0.5. A
back-end gets all of them by defining nothing beyond the array interface and a
KernelAbstractions back-end, and they follow Base's semantics: stable sorting by default,
<code>init</code> applied once, no neutral element needed, Base's result types, empty results and
errors.</p>
<p><em>Breaking changes for back-ends</em>:</p>
<ul>
<li>The <code>GPUArrays.mapreducedim!</code> hook is removed and GPUArrays no longer picks neutral
elements. Every Base reduction goes to AK directly. Back-ends must delete their methods
for the hook, together with the reduction kernels only it used.</li>
<li><code>GPUArrays.default_rng</code> and the deprecated <code>RNG(state::AbstractGPUArray)</code> and
<code>seed!(rng, ::Vector{UInt32})</code> methods are removed. Construct the RNG with <code>RNG{AT}()</code>
and seed it with an integer.</li>
<li>KernelAbstractions 0.9.43 or later and Adapt 4.7.3 or later are required.</li>
</ul>
<p><em>What back-ends should delete</em>:</p>
<p>Methods narrower than GPUArrays' keep winning dispatch, so a back-end that keeps its own
<code>findall</code>, <code>to_index</code>/<code>to_indices</code>, <code>_accumulate!</code>/<code>accumulate</code>, <code>sort!</code>/<code>sortperm!</code>/
<code>partialsort!</code>, or <code>reverse!</code> bypasses GPUArrays' Base conformance, and some of those
methods are ambiguous with GPUArrays' (e.g. <code>findall(f, ::MyArray)</code> against
<code>findall(::Fix2{typeof(in)}, ::AnyGPUArray)</code>). Delete them.</p>
<p>A vendor sort or scan (e.g. one built on MPSGraph) can stay as a fast path, as long as it
falls back to GPUArrays' method for the cases it doesn't handle and accepts AK's
algorithm objects (<code>alg=AK.MergeSort()</code> etc.). There is no extension point for vendor
reductions; <code>GPUArrays._ak_mapreducedim!</code> is internal.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/6b164fabc914f19fa48bff3290422b518f1c2f77"><code>6b164fa</code></a> Define alias detection for every GPU array through a location hook (<a href="https://redirect.github.com/JuliaGPU/GPUArrays.jl/issues/811">#811</a>)</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/7ce1d679bd9993228c04d0b2857c2880d63ab674"><code>7ce1d67</code></a> Bump versions.</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/70cf21c5e1c6a7ee0689bcee5980798a002a35b2"><code>70cf21c</code></a> Use byte-range overlap for dense JLArray alias detection (<a href="https://redirect.github.com/JuliaGPU/GPUArrays.jl/issues/803">#803</a>)</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/6ef94aecebd7b40a4e6d8e402aaded6730ad6261"><code>6ef94ae</code></a> Sweep reduction shapes for one real and one complex element type (<a href="https://redirect.github.com/JuliaGPU/GPUArrays.jl/issues/810">#810</a>)</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/2f930aa952391eb093667f7cc364852bd1fb6e96"><code>2f930aa</code></a> Merge pull request <a href="https://redirect.github.com/JuliaGPU/GPUArrays.jl/issues/808">#808</a> from JuliaGPU/tb/gpuarrays-12.0.2</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/dbba9036213489b28d3c27449f711cab2422b2cf"><code>dbba903</code></a> Bump version to 12.0.2</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/7aba731a6225a1bdff67bc3b28213d0cdb6c19b2"><code>7aba731</code></a> Check a single logical mask's shape on Julia 1.10</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/bba15c23b45968498efb434dd722bd9b039927e4"><code>bba15c2</code></a> Merge pull request <a href="https://redirect.github.com/JuliaGPU/GPUArrays.jl/issues/806">#806</a> from JuliaGPU/tb/gpuarrays-12.0.1</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/348c99d8faa98e7c03feb7999abfc4e66b5e08fe"><code>348c99d</code></a> Bump version to 12.0.1</li>
<li><a href="https://github.com/JuliaGPU/GPUArrays.jl/commit/19746f9442b62ae0af17b2769f9b9bedf62dd111"><code>19746f9</code></a> Don't overflow abs2 in the adjoint reduction test</li>
<li>Additional commits viewable in <a href="https://github.com/JuliaGPU/GPUArrays.jl/compare/v11.4.1...v12.1.0">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)

  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)

  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)

  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency

  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: kshyatt Review duration: 16618m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #585"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.7% · Safe to merge
    27.7%