Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何做到多线程加速这么明显?很多平台,2个线程会略微好一些,更多效果反而不好。 #30

Open
helloearth012 opened this issue Jun 19, 2019 · 1 comment

Comments

@helloearth012
Copy link

很多平台,2个线程会略微好一些,更多线程反而引入一些cpu对线程管理的问题,最后反而速度更慢。(使用openmp)
但是看您的数据,多线程下,加速非常明显,请问是如何实现的?

@moli232777144
Copy link
Owner

看ncnn的wiki,理论上,线程越多会越快,但速度稳定性会下降

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants