开发者

boost or openMP for multithreading?

开发者 https://www.devze.com 2023-01-11 10:36 出处:网络
i have to parallize som开发者_JS百科e code and a fried of mine suggested using boost for it. Right now i have a look into openMP and i am wondering what you think is better for that task.it is up to y

i have to parallize som开发者_JS百科e code and a fried of mine suggested using boost for it. Right now i have a look into openMP and i am wondering what you think is better for that task.


it is up to you

I personally went with boost threads, because it found OpenMP to be very lacking once I needed more advanced features

for simple loops, OpenMP is fine, for more complex things, actual threads may be needed.

0

精彩评论

暂无评论...
验证码 换一张
取 消