开发者

How can I do an overlapping scatter using Boost.MPI?

I want to distribute a vector with overlapping elements. For example, if I had [1,2,3], I'd want [1,2] to开发者_开发知识库 get sent to one node, and [2,3] to get sent to another. I'm familiar with how to do this using MPI, but how would I do this using Boost::MPI?


Never tried, but I think you can use ranges or slices. You may need to provide your own serialization if it's not included in Boost Serialization.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜