You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Metal
using LinearAlgebra
using ArrayInterface
x =MtlArray(rand(Float32, 3, 3))
lu(x) # This works.
ArrayInterface.lu_instance(rand(Float32, 3, 3)) # This works.
ArrayInterface.lu_instance(x) # This fails.
This is the error message:
/AppleInternal/Library/BuildRoots/4~B5E4ugD7ttWrICQL0cKin8ziE5extnGgu--yePo/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSMatrix/LinearAlgebra/MPSMatrixCombination.mm:293: failed assertion `[MPSMatrixCopy initWithDevice:subMatrixRows:subMatrixColumns] subMatrixColumns must be larger than zero'
[74834] signal 6: Abort trap: 6
in expression starting at REPL[7]:1
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 44119237 (Pool: 44118177; Big: 1060); GC: 32
zsh: abort julia
[4fba245c] ArrayInterface v7.19.0
[dde4c033] Metal v1.7.0
Activity
Add Metal.jl support for lu_instance