Skip to content

Commit

Permalink
fix SharedStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
tgymnich committed Sep 26, 2024
1 parent 8e6413e commit eaa3283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mps/linalg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ LinearAlgebra.ipiv2perm(v::MtlVector{T,S}, maxi::Integer) where {T,S<:MTL.CPUSto
end

P = MtlMatrix{UInt32}(undef, 1, min(N, M))
status = MtlArray{MPSMatrixDecompositionStatus,0,Shared}(undef)
status = MtlArray{MPSMatrixDecompositionStatus,0,SharedStorage}(undef)

commitAndContinue!(cmdbuf) do cbuf
mps_p = MPSMatrix(P)
Expand Down Expand Up @@ -187,7 +187,7 @@ end
end

P = MtlMatrix{UInt32}(undef, 1, min(N, M))
status = MtlArray{MPSMatrixDecompositionStatus,0,Shared}(undef)
status = MtlArray{MPSMatrixDecompositionStatus,0,SharedStorage}(undef)

commitAndContinue!(cmdbuf) do cbuf
mps_p = MPSMatrix(P)
Expand Down

0 comments on commit eaa3283

Please sign in to comment.