Skip to content

Enable use of Parallel TS of c++17  #214

@breznak

Description

@breznak

After #55
https://www.phoronix.com/scan.php?page=news_item&px=Intel-Parallel-STL-libstdc-libc

Paralel TS, as defined in c++17, should soon be available in GCC, Clang (supported in MSVC already 👍 )
I'm very interested to test its performance.

  • it allows code from to be run in parallel, vectorized imlicitely.

EDIT:

PROs:

  • easy to implement
  • usable in all code (allies to small sniplet, loop)
  • seamless

CONs:

  • gains may not be that big
  • blocked by lacking compiler/libstdc++ support, ETA 2019 earliest?

I will experiment with this, some progress outline, @breznak
TODO:

  • obtain gcc-9 for ubuntu -- from PPA
    • codebase compiles with g++-9
  • decided for c++17 standard Parallel TS, currently requires g++-9 & TBB
  • demo code on sorting
  • SP optimizations
  • header that sorts support if possible, same as boost-vs-cpp17
    • design some control over used thread counts based on num CPU cores
  • test parallel execution on CI

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions