Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

Mixing TBB loops and PPL data structures

Ravi__Jagannadhan
398 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
247 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
231 Views

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


Reply