Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Intel_C_3
Beginner
53 Views

Latest Developer Release Missing affinity.h

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_K_Intel3
Employee
53 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.

Alexey_K_Intel3
Employee
53 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.