Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

concurrent_vector and parallel_for

smallb
Beginner
116 Views
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.
0 Kudos
1 Solution
RafSchietekat
Black Belt
116 Views
A normal vector will do at least as well, but that's the general idea.

View solution in original post

1 Reply
RafSchietekat
Black Belt
117 Views
A normal vector will do at least as well, but that's the general idea.
Reply