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
939 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
Moderator
788 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-ppl


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).


0 Kudos
Mark_L_Intel
Moderator
772 Views

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


0 Kudos
Reply