Skip to content
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

\ on qr factorization objects gives a method error #138

Closed
ChrisRackauckas opened this issue Apr 17, 2019 · 3 comments
Closed

\ on qr factorization objects gives a method error #138

ChrisRackauckas opened this issue Apr 17, 2019 · 3 comments
Labels
bug Something isn't working cuda array Stuff about CuArray.

Comments

@ChrisRackauckas
Copy link
Member

MWE:

A = cu(-rand(3,3)); b = cu(rand(3))
_qr = qr(A)
_qr \ A

QR factorization already works, and JuliaGPU/CuArrays.jl#165 handled the \ for Triangular, so all of the pieces are there to define this. In fact,

_x = vec(UpperTriangular(_qr.R) \ (_qr.Q' * reshape(b,length(b),1)))

works, since JuliaGPU/CuArrays.jl#165 requires a matrix, so it's not that far off. Using this a \ can be defined which would solve https://github.com/JuliaGPU/CuArrays.jl/issues/103

@ChrisRackauckas
Copy link
Member Author

Ref: SciML/OrdinaryDiffEq.jl#719

@ChrisRackauckas
Copy link
Member Author

JuliaGPU/CuArrays.jl#580

@maleadt maleadt transferred this issue from JuliaGPU/CuArrays.jl May 27, 2020
@maleadt maleadt added bug Something isn't working enhancement New feature or request cuda array Stuff about CuArray. and removed enhancement New feature or request labels May 27, 2020
@maleadt
Copy link
Member

maleadt commented Apr 27, 2024

This works now.

@maleadt maleadt closed this as completed Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda array Stuff about CuArray.
Projects
None yet
Development

No branches or pull requests

2 participants