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
122 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/append...)

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
Black Belt
122 Views

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

Reply