Skip to content

Commit

Permalink
Succesfull but still un-optimal parallezation of the map
Browse files Browse the repository at this point in the history
  • Loading branch information
Gertian committed Oct 27, 2024
1 parent b5821a4 commit 6a482d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/algorithms/grassmann.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ function ManifoldPoint(state::Union{InfiniteMPS,FiniteMPS}, envs)
end
end
g = map(CartesianIndices(state.AL)) do I
return Grassmann.project(al_d[I], state.AL[I])
end
return Threads.@spawn Grassmann.project(al_d[I], state.AL[I])
end .|> fetch
else
al_d = similar(state.AL)
for i in 1:length(state)
Expand Down

0 comments on commit 6a482d8

Please sign in to comment.