Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneTbb 2021 is not compatible with parallel STL, what is the way forward? #332

Closed
AlyaMx opened this issue Jan 6, 2021 · 5 comments
Closed

Comments

@AlyaMx
Copy link

AlyaMx commented Jan 6, 2021

Hi there,
We are building an analytics application that uses Parallel STL. So far the code links to the tbb library version 2020.3.
We recently tried upgrading to the latest version of the library (oneTBB 2021) (to take advantage of its cmake build configuration) but we quickly understood that it is not compatible with Parallel STL as per the release notes.
So, I am wondering if there is a plan to upgrade Parallel STL so it is compatible with the new tbb version?
Thanks in advance for your help,
Best,
Alya

@bduclaux
Copy link

bduclaux commented Mar 5, 2021

Same problem. Any update here ?

@andreyfe1
Copy link

andreyfe1 commented Mar 9, 2021

Hi @AlyaMx, @bduclaux,
Parallel STL has already been updated in libstdc++ (https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/pstl/parallel_backend_tbb.h#L71-L75) to support 2020.3 and oneTBB 2021 both.

@anton-potapov
Copy link
Contributor

@AlyaMx, it seems that problem is solved. Can you check you on your side ?

@anton-potapov
Copy link
Contributor

@AlyaMx, please re-open if the problem still exists

@pca006132
Copy link

pca006132 commented May 1, 2024

Not sure if I should open another issue, but it seems that at least with GCC12, there are memory leaks when using PSTL with TBB backend (elalish/manifold#787). It works fine with clang using libc++. Not sure if gcc 13 works, not yet checked. GCC 13 works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants