Skip to content

CompatHelper: bump compat for CUDA in [weakdeps] to 6, (keep existing compat)#49

Merged
mgyoo86 merged 2 commits into
masterfrom
compathelper/new_version/2026-07-01-21-03-22-460-03354938603
Jul 1, 2026
Merged

CompatHelper: bump compat for CUDA in [weakdeps] to 6, (keep existing compat)#49
mgyoo86 merged 2 commits into
masterfrom
compathelper/new_version/2026-07-01-21-03-22-460-03354938603

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This pull request changes the compat entry for the CUDA package from 5 to 5, 6.
This keeps the compat entries for earlier versions.

Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.82%. Comparing base (46b0ad5) to head (47114d3).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   95.82%   95.82%           
=======================================
  Files          16       16           
  Lines        3619     3619           
=======================================
  Hits         3468     3468           
  Misses        151      151           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…rrays

CUDA 6 removed the CUDA.GPUArrays submodule path, breaking precompilation
of the CUDA extension (UndefVarError: GPUArrays not defined in CUDA).
unsafe_free! is a (non-exported) binding in both CUDA and Metal namespaces,
so `using CUDA: unsafe_free!` / `using Metal: unsafe_free!` works across
the whole compat range (verified on CUDA 5.11.3, 6.2.0 and Metal 1.9.3).

Also drop the now-unused bare `using Metal.GPUArrays` in the Metal ext,
which was the same latent breakage as CUDA once Metal upgrades.
@mgyoo86 mgyoo86 merged commit 140b713 into master Jul 1, 2026
14 checks passed
@mgyoo86 mgyoo86 deleted the compathelper/new_version/2026-07-01-21-03-22-460-03354938603 branch July 1, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant