-
Notifications
You must be signed in to change notification settings - Fork 209
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
backslash with gpu matrices crashes julia #161
Comments
There a few missing pieces for this to work. We mainly need to hook julia> x = [CuArrays.CUBLAS.trsv!('U','N','N',F.R[:,1:3], F.Q'cuY); 0]
4-element CuArray{Float32,1}:
0.42201534
0.063246876
-0.07105942
0.0 but that is not really satisfactory. (Notice also that this isn't the minimum norm solution that we use for normal arrays). First step is to define |
These work now. |
I'm trying to solve a system of linear equations on the GPU, but it crashes julia with no error message. My understanding of a discussion from a year or two ago was that backslash would be the way to access the cusolver routines. The simplest backslash attempt crashes julia with no error message, then since
it appears that cusolver has (a routine that solves a system with a triangular structure)[https://software.intel.com/en-us/mkl-developer-reference-c-trtrs], I tried to get to that by performing a QR decomposition on the cuarrays (which works fine), then solving the triangular version of the problem, with the same result. I couldn't find that routine wrapped in CuArrays.jl anyway though. Backslash seemed the most natural way to do this, but is there an accepted way to do this that I'm missing?
if relevant:
The text was updated successfully, but these errors were encountered: