Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JerryYan
Beginner
106 Views

Question about TBB

Hello!

After I install the oneAPI, it looks like there are two folders that contain the tbb.h file. The one is 'TBBROOT/VERSION/oneapi/' and another one is 'TBBROOT/VERSION/tbb/'. What's the difference between them?

Are they link to same lib files?

Thanks!

0 Kudos
2 Replies
AbhishekD_Intel
Moderator
90 Views

Hi,


We are forwarding this thread to the concerned team.


Thank You.


Heinrich_B_Intel
Employee
82 Views

Hi Jiarui,


I also found the two version of tbb.h in $VERSION/include/oneapi and $VERSION/include/tbb

Looking at the 2nd location you find inside the tbb.h file (only non comment line):


#include "../oneapi/tbb.h"


It looks as if this tbb.h file is just for backward compatibility and it points to the new oneapi location. Other include files in this location also point to their oneapi version.


best regards,

Heinrich