1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-14 14:15:28 +01:00

pass only the i-th column in @parallel mode

this cuts on memory per worker drastically
This commit is contained in:
kalmarek 2017-11-05 19:28:51 +01:00
parent c3ea80e6a9
commit f7f9ceef07

View File

@ -33,8 +33,7 @@ function compute_SOS(Q::AbstractArray, pm::Array{Int,2}, l::Int)
@everywhere groupring_square = PropertyT.groupring_square
result = @parallel (+) for i in 1:size(Q,2)
print(" $i")
groupring_square(view(Q,:,i), l, pm)
groupring_square(Q[:,i], l, pm)
end
println("")