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

Question about TBB

JerryYan
Beginner
712 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
696 Views

Hi,


We are forwarding this thread to the concerned team.


Thank You.


0 Kudos
Heinrich_B_Intel
Employee
688 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






0 Kudos
Reply