- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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 返信
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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