JuliaGPU / Metal.jl

Metal programming in Julia
MIT License
354 stars 38 forks source link

Implement MPSMatrixSolve #402

Open vboussange opened 3 months ago

vboussange commented 3 months ago

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 commented 3 months ago

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)
# ...