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

Implement MPSMatrixSolve #402

Open
vboussange opened this issue Jul 27, 2024 · 1 comment · May be fixed by #145
Open

Implement MPSMatrixSolve #402

vboussange opened this issue Jul 27, 2024 · 1 comment · May be fixed by #145

Comments

@vboussange
Copy link

Hey there,

using Metal
A = Metal.randn(100,100)
b = Metal.randn(100,1)
A\b

throws

ERROR: MethodError: no method matching getrs!(::Char, ::MtlMatrix{Float32, Private}, ::MtlVector{UInt32, Private}, ::Matrix{Float32})

Any idea on what is happening?

@tgymnich
Copy link
Member

tgymnich commented Jul 27, 2024

Solving of linear equations is not yet implemented in Metal.jl (see #145). However you can already use LU factorisation in the meantime.

using LinearAlgebra
A = Metal.randn(100,100)
lua = lu(A)
# ...

@christiangnrd christiangnrd linked a pull request Aug 28, 2024 that will close this issue
@christiangnrd christiangnrd changed the title Backslash operator failing Implement MPSMatrixSolve Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants