-
Notifications
You must be signed in to change notification settings - Fork 47
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
Unexpected error: ccall requires compiler when using QR #461
Comments
That's weird, can you post Above example works on my machine: julia> using LinearAlgebra, AMDGPU
[ Info: Navi 2 GPU detected, setting ENV variable: `HSA_OVERRIDE_GFX_VERSION=10.3.0`.
julia> A = ROCArray(rand(ComplexF64, 8, 4));
julia> qr(A)
QR{ComplexF64, ROCMatrix{ComplexF64, AMDGPU.Runtime.Mem.HIPBuffer}, ROCVector{ComplexF64, AMDGPU.Runtime.Mem.HIPBuffer}}
Q factor:
8×8 LinearAlgebra.QRPackedQ{ComplexF64, ROCMatrix{ComplexF64, AMDGPU.Runtime.Mem.HIPBuffer}, ROCVector{ComplexF64, AMDGPU.Runtime.Mem.HIPBuffer}}:
-0.263534-0.383082im 0.201817+0.300202im -0.0609926+0.323185im … -0.391813-0.115354im -0.0163812+0.0353206im
-0.149431-0.135789im -0.0804106-0.393071im -0.192847-0.104253im -0.30923+0.306449im -0.49432-0.225866im
-0.361372-0.039774im -0.050347-0.431445im -0.320076+0.358908im 0.160851-0.228831im 0.30265+0.266208im
-0.0163679-0.211219im -0.372776+0.0878281im 0.459565-0.0414137im 0.118538-0.11094im -0.19236+0.122445im
-0.322477-0.365644im 0.12508+0.24006im 0.209779+0.270177im 0.0764277-0.0450508im -0.118406+0.0710881im
-0.130716-0.239194im -0.279746-0.21806im 0.159488+0.00837835im … -0.214403-0.0708149im -0.106042-0.185207im
-0.167977-0.261044im 0.121521-0.15146im 0.266802-0.165913im 0.635625-0.0514819im -0.0298735-0.3116im
-0.20606-0.339365im -0.360917-0.0759747im -0.114503-0.381134im -0.0908846+0.255466im 0.570497-0.0241447im
R factor:
4×4 ROCMatrix{ComplexF64, AMDGPU.Runtime.Mem.HIPBuffer}:
-2.35654+0.0im -1.79344+0.0237188im -1.42258+0.412774im -1.58647-0.0509862im
0.0+0.0im -1.66205+0.0im -1.00484+0.0649698im -0.696264-0.023673im
0.0+0.0im 0.0+0.0im 0.923757+0.0im 0.460948+0.441239im
0.0+0.0im 0.0+0.0im 0.0+0.0im 0.915658+0.0im |
Here you go:
|
Thanks for looking into it! |
Ah it seems rocsolver is not installed ... that's weird. But maybe there could be a more graceful error message? |
Agree, will add it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to use the qr routines added in #456 and here is what I get:
Stacktrace:
The text was updated successfully, but these errors were encountered: