What is oneAPI and how does it compare to TBB?
Asked Answered
S

1

6

We've been using TBB for years and I see when upgrading, we're taken to a oneAPI TBB page now instead. Does oneAPI TBB replace the traditional TBB? Are both versions being maintained or is the standalone TBB now deprecated?

Trying to determine which to migrate to. Looks to me like oneAPI TBB replaces TBB, as the TBB pages haven't been updated since last year but I can't easily tell.

What also confuses me is that in the include directory, there exists both tbb/tbb.h and oneapi/tbb/tbb.h and both have the same files within them. Are they identical? I can't tell which to use.

Shredding answered 29/9, 2021 at 18:45 Comment(3)
Helpful to provide a link to the page that you were taken to after upgrade.Triangulation
Page? I just downloaded a new tarballShredding
You're the one who called it a page. "we're taken to a oneAPI TBB page" If that page is online, provide the link. If it is in a downloaded tarball, provide the relative path inside the tarball. Make it possible for someone else to see what you're seeing and asking about.Triangulation
J
7

oneTBB is the next version of TBB. While they are almost source compatible, the binary compatibility is not preserved and some interfaces were either removed or changed. Consider the topics: Migrating from Threading Building Blocks (TBB) and TBB Revamp.

As for tbb.h, all oneAPI components reside inside oneapi/, i.e. it is recommended to use oneapi/tbb.h(while tbb/tbb.h is the same and available for source compatibility with TBB)

Jenjena answered 7/10, 2021 at 10:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.