codistributed array, parallel computing
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Hello!
I have to compute a large matrix of data. For example: for i=1:3E5 A(:,i) = ... end Do to this I use the parallel computing toolbox. The amount of memory is in my opinion very large, because the array A is copied to every worker. If I define A as a codistributed array, the for loop becames very slow (I use for drange). Are there any suggestions to speed up this computation? Thx!
댓글 수: 1
Walter Roberson
2011년 8월 8일
Just to check: you _are_ preallocating A, right?
답변 (1개)
Jill Reese
2011년 8월 8일
0 개 추천
Could you post the code that you are currently using? It would be easier to make suggestions based on what you have already tried.
Thanks,
Jill
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!