Issue 84442
Summary libc++: No parallel execution with parallel STL
Labels libc++
Assignees
Reporter Gei0r
    I know that the parallel STL implementation is still experimental, but according to [the status page](https://releases.llvm.org/18.1.0/projects/libcxx/docs/Status/PSTL.html#pstl-status), `for_each` should already be "complete".

However, with my test program, I don't see any parallization. The parallel algorithm takes the same time as the sequential version. I tested both libc++ 17.0.6 and 18.1.0 on both Windows and Linux.

[Compiler Explorer](https://godbolt.org/z/9sxfaqoqr)

What's wrong? Did I miss something?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to