composites
显示 更早的评论
hello, I have a code which processes a large data set. i tried to use spmd and distribute the data among the workers. but it did not speed up things. but when i used composite object to send data to workers large speed up was obtained using core i5.
why composites are better? Is it most likely that composites would always work better than distributed arrays?
-obli
1 个评论
Jill Reese
2012-5-31
Could you post some code showing the two ways that you tried using spmd? My first thought is that you avoided communication between the workers when you used composites and that was why it was faster. However, there's often ways to do the same with dristributed arrays.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Distributed Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!