-
Notifications
You must be signed in to change notification settings - Fork 316
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
OpenMP Support of NNPACK #26
Comments
Here is the list of reason why NNPACK doesn't use OpenMP (ordered by importance):
|
Thanks! |
Thanks for your explaination, @Maratyszcza
|
@Darwin2011 Poor dual-socket performance is not related to the threading library, but rather the result of the assumption in NNPACK that all cores share L3 cache. When this assumption doesn't hold, the cores evict each other's cache lines. |
@Maratyszcza |
@Darwin2011 I'm think on the plan to improve multi-socket scaling. Fundamentally, two problems need to be solved:
|
Can I just separate input images into two streams(one stream per socket) and prepare two threads pool for those stream? |
Hi, @Maratyszcza
Currently NNP uses self-implemented threadpool rather than OpenMP.
Why NNP chooses pthread rather than openmp? In the future, openmp parallel will be supported or not?
I think in some degree, openmp is much easier to use for me.
Thanks.
Best Regards
The text was updated successfully, but these errors were encountered: