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

Latest Developer Release Missing affinity.h

Intel_C_3
Beginner
287 Views
The latest developer release of the TBB source fails to compile because affinity.h -- included in parallel_for.h -- is missing.
0 Kudos
2 Replies
Alexey-Kukanov
Employee
287 Views

Sooner rather than later, this header will be real. If you follow the blog of Arch Robison, you probably can guess what it is intended to be for :)

For now, you can either delete the line(s) that #include "affinity.h", or add an empty file with this name into the folder with TBB headers.

Thank you for noticing it and letting us know; and our apologies to everyone affected.

0 Kudos
Alexey-Kukanov
Employee
287 Views

The issue is fixed in the most recent developer snapshot; take it from the download area of http://threadingbuildingblocks.org

My prediction that the header will become real, however, completely failed :) As the initial affinity prototype improved and matured, the file became unnecessary and simply had gone.

0 Kudos
Reply