Split a matrix on parallel computing with spmd
조회 수: 14 (최근 30일)
이전 댓글 표시
As I can split a vector 4x18 in four workers each with a 1x18 table, selecting the vector for each worker in parallel computing with spmd.
댓글 수: 2
채택된 답변
Edric Ellis
2014년 1월 30일
spmd
d = codistributed(rand(4, 18), codistributor1d(1))
end
will result in each worker storing a 1x18 portion of d.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!