-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement missing LinearAlgebra wrappers and add support for uplo parameter #51
Conversation
Reading the docstring for In this PR I just followed the pattern already in use for |
Thanks for the PR!
It seems that way, yes. Can you come up with a test to make sure this doesn't regress? |
I think that should do it. Testing that all wrapped arrays are subtypes of the appropriate dimension-specific AnyCustomArray{T,N} union. |
Thanks. Did you validate these changes with any of the packages that rely on Adapt.jl (like CUDA.jl)? |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #51 +/- ##
==========================================
- Coverage 83.33% 77.77% -5.56%
==========================================
Files 6 6
Lines 72 81 +9
==========================================
+ Hits 60 63 +3
- Misses 12 18 +6
☔ View full report in Codecov by Sentry. |
Thanks for the reminder. The entire CUDA.jl test suite passes on my end. Looks like UpperHessenberg only exists from 1.3 onwards. Is it important to maintain support for 1.2? |
No. We can bump the requirement to the latest LTS, 1.6, and then also include the other recent versions that are missing from the CI roster (1.6, 1.7, 1.8-beta1). |
Can this be merged? I just hit a scalar indexing issue caused by missing adapt rules for |
Hermitian, UpperHessenberg, Bidiagonal, SymTridiagonal
Hermitian, UpperHessenberg, Bidiagonal, SymTridiagonal Closes JuliaGPU#46
Highlights inconsistent usage of Src/Dst in implementation
Thanks! |
Sorry, reverting this due to CUDA.jl breakage: #70 (comment) |
Finally got around to #46 (long since closed but never fixed)
Bonus: I noticed that the existing support for
Symmetric
was buggy as it didn't support theuplo
parameter, i.e.,adapt_structure
would do the wrong thing with an instance ofSymmetric
with non-defaultuplo
. So fixed that too for Symmetric and Hermitian.