- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
does TBB automatically do load balancing between two different programs which both use TBB?
E.g. a quad core machine is used. Program 1 has a tbb_parallel_for loop to do some heavy calculations. Program 2 uses such a loop as well for its calculations. Does TBB track that across different programs? Specifically not the same program with some threads, but different binary file being executed.
Thanks,
Daniel
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daniel,
Intel TBB runtime does not balance calculations across different processes. If you want to run two parallel programs on the same machine simultaneously, you may want to use affinity masks for processes to split the computational resources and limit Intel TBB runtimes to particular parts of the CPU.
Regards,
Alex
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page