Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniel_P_Intel1
Employee
78 Views

TBB load balance across different programs?

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

1 Reply
Alexei_K_Intel
Employee
78 Views

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