CompatHelper: bump compat for CUDA in [weakdeps] to 6, (keep existing compat)#49
Merged
mgyoo86 merged 2 commits intoJul 1, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ 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:
|
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request changes the compat entry for the
CUDApackage from5to5, 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.