concurrent_vector and parallel_for

concurrent_vector and parallel_for

smallb的头像

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 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项.
Raf Schietekat的头像
Best Reply

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

登陆并发表评论。