Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Parallelization of matrix definiton
1 回表示 (過去 30 日間)
古いコメントを表示
In my project I deal with matrices using up almost all the memory available. Logically the matrix is divided into blocks which can be computed independently from one another. Straight forward use of parfor as follows
parfor a = 1:N,
[M1] = func(a,par1, par2, par3);
N(i1(a):i2(a), i3(a):i4(a)) = M1;
end
does not work (the code is an example to illustrate the idea). Is there a way to establish parallel computing of these blocks?
0 件のコメント
回答 (1 件)
Jill Reese
2014 年 2 月 14 日
Without more context for your problem I cannot be sure, but you may find using distributed arrays inside an spmd block to be more useful than parfor in this case.
1 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!