本文介绍了OpenMP并行for循环,性能几乎没有提高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

schedule(dynamic, 1) may not be optimal, as High Performance Mark notes in his answer. There is a more in-depth discussion of scheduling granularity in this OpenMP wihtepaper.

也感谢 Jens Gustedt 和为这个答案做出了贡献.

Thanks also to Jens Gustedt and Mahmoud Fayez for contributing to this answer.

这篇关于OpenMP并行for循环,性能几乎没有提高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 23:05