Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Question about TBB

JerryYan
Beginner
365 Views

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
349 Views

Hi,


We are forwarding this thread to the concerned team.


Thank You.


Heinrich_B_Intel
Employee
341 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






Reply