STL parallel algorithm seems to use only 1 thread

前端 未结 0 1608
一整个雨季
一整个雨季 2020-12-01 01:13

I am using C++17 parallel STL algorithms with the std::execution::par execution policy. I am using Ubuntu on a laptop with 4 cores, clang 11 compiler and cmake

相关标签:
回答
  • 消灭零回复
提交回复
热议问题