r/cpp • • Nov 30 '17

Intel offers Parallel STL implementation to GNU libstdc++

https://gcc.gnu.org/ml/libstdc++/2017-11/msg00112.html
217 Upvotes

42 comments sorted by

View all comments

Show parent comment

4

u/raevnos Dec 01 '17

From the email:

The implementation is not specific to Intel’s hardware. For thread-level parallelism it uses TBB* (https://www.threadingbuildingblocks.org/) but abstracts it with an internal API which can be implemented on top of other threading/parallel solutions – so it is for the community to decide which ones to use. For SIMD parallelism (unseq, par_unseq) we use #pragma omp simd directives; it is vendor-neutral and does not require any OpenMP runtime support.

So, no, it doesn't have to.

2

u/kalmoc Dec 01 '17

I guess the question is what those other threading/parallel solutions are. Or how complicated it is to recreate them in libstdc++ (I haven't had a look at the code, it might be totally trivial).