concurrent_vector and parallel_for

concurrent_vector and parallel_for

Guys, do I understand it correctly that if I have an object of class concurrent_vector filled with some values and if I put this object to parallel_for while specifying blocked_range on this vector then, the task scheduler will automatically spread the load on all available cores?
Thank you.

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
Best Reply

A normal vector will do at least as well, but that's the general idea.

发表评论

登录添加评论。还不是成员?立即加入