How should I interpreter these VTune results?

前端 未结 1 378
攒了一身酷
攒了一身酷 2020-12-07 05:45

I\'m trying to parallelyzing this code using OpenMP. OpenCV (built using IPP for best efficiency) is used as external library.

I\'m having problems unbalanced CPU u

相关标签:
1条回答
  • 2020-12-07 06:27

    Try reading the info in this link, especially the part about "Nested OpenMP" since Intel IPP already uses OpenMP in their implementation. From my experience with Intel IPP and OpenMP, if you are doing some other type of multi-threading and when each of the created threads gets to the OpenMP calls performance was really bad. Also, you can try having #pragma omp parallel for for each of the parallel regions instead of #pragma omp for and getting rid of the outer #pragma omp parallel

    0 讨论(0)
提交回复
热议问题