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
321 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
Valued Contributor III
321 Views
A normal vector will do at least as well, but that's the general idea.

View solution in original post

0 Kudos
1 Reply
RafSchietekat
Valued Contributor III
322 Views
A normal vector will do at least as well, but that's the general idea.
0 Kudos
Reply