-
Notifications
You must be signed in to change notification settings - Fork 78
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
copyto!
of triangular of adjoint fails
#354
Comments
Oh and if the hotfix is wanted, I can make a PR, np 👍 |
As |
Using GPUArrays.jl/src/host/abstractarray.jl Line 95 in 5c7e76a
AnyGPUArray already includes UpperTriangular 😕
Compiler tells me that this can be fixed by defining for Maybe best to just go for the simple fix for this particular issue with |
Hmm, maybe we should remove the support for |
I think that decision is best left up to you and the other GPU-peeps; I don't feel like I have enough knowledge/experience to be able to tell if that's a good or bad idea 🙃 Btw this is also relevant: JuliaArrays/ArrayInterface.jl#136 |
That seems the best approach right now. I could get rid of some of the |
Type is
which means that it won't hit
GPUArrays.jl/src/host/linalg.jl
Line 70 in 8e1bde0
Adjoint
is not a subtype ofAbstractGPUArray
, nor will it hitGPUArrays.jl/src/host/linalg.jl
Line 70 in 8e1bde0
LowerTriangular
.Similar issue of course also exists for
UpperTriangular
.Hotfix would be to just add additional impl for
UpperTriangular{T, <:Adjoint{T, <:AbstractGPUArray{T,N}}}
, etc. but unclear to me if this is the best approach, e.g. maybe there's a more "generic" solution to these wrappers of wrappers arrays?The text was updated successfully, but these errors were encountered: