Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Pinning worker threads to cores

tzannes
Beginner
362 Views

The TBB documentation has an example of how to use a scheduler observer to pin worker threads to HW resources:(http://software.intel.com/sites/products/documentation/doclib/tbb_sa/help/index.htm#reference/appendices/community_preview_features/task_arena_cls/task_scheduler_observer_ext_cls.htm)

I downloaded TBB v4.1 update 1 (the source), but some functionality used by the example does not seem to be implemented (crucially set_thread_affinity). Is there a newer version of TBB that I need to get from somewhere to be able to use this functionality?

0 Kudos
1 Reply
RafSchietekat
Valued Contributor III
362 Views

Substitute your specific environment's API (directly or indirectly).

0 Kudos
Reply