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

Mixing TBB loops and PPL data structures

Ravi__Jagannadhan
500 Views

Hi all, is it possible to do mix, say, a TBB::parallel_for loop and the concurrent_* data structures from Microsoft's PPL?

0 Kudos
2 Replies
Mark_L_Intel
Employee
349 Views

In theory should be possible. In fact, you can find that PPL took inspiration from TBB, e.g., https://stackoverflow.com/questions/7515097/what-are-the-differences-between-intel-tbb-and-microsoft...


But it is not recommended to mix different threading models in the same application due to possible oversubscription issues (you would activate two different treading pools).


Mark_L_Intel
Employee
333 Views

Due to no response from customer, the Intel support for this ticket is closed.


Reply