STL algorithms and concurrent programming

后端 未结 4 667
无人共我
无人共我 2020-12-08 06:01

Can any of STL algorithms/container operations like std::fill, std::transform be executed in parallel if I enable OpenMP for my compiler? I am working with

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 06:37

    There are a number of projects that aim at having parallel STL type libraries:

    1. OpenMP Multi-Threaded Template Library
    2. libstdc++ parallel
    3. HPC++ Parallel Standard Template Library
    4. Parallel Patterns Library (shamelessly borrowed from AshleysBrain's answer)

提交回复
热议问题