-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
parallelismParallel or distributed computationParallel or distributed computationperformanceMust go fasterMust go fasterspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
Description
In a statement like
@spawn f(A[I,J], B[I,K])
if A is a local array the indexing should be done locally so only part of the array is sent elsewhere.
A good approach might be to lower this as follows:
if isa(A, Array)
sub = A[I,J]
thk = ()->sub
else
thk = ()->A[I,J]
end
@spawn f(thk(), ...)
Metadata
Metadata
Assignees
Labels
parallelismParallel or distributed computationParallel or distributed computationperformanceMust go fasterMust go fasterspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative