-
Notifications
You must be signed in to change notification settings - Fork 164
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
A problem about openblas threads? #28
Comments
For OpenBLAS with libs on armeabi-v7a, I had tested that the number of threads do effect the performance. |
I try it again just a moment ago. But it still seems nothing changed. what I do: |
Did you try the prebuilt libs in this repo before? I'm pretty sure that it works with openmp support. |
what is "the prebuilt libs "? and where can I find it? |
Yes, I always do it, but find ineffective. So, would you tell me, what device you use when it do effect the performance ? |
Sorry, I found that I made a mistake and thus caffe libs would be built with eigen by |
Could tell me the mistake so I can build the lib by myself? I am not familiar with shell so I cannot find it. |
I find it. I delete build_eigen.sh in build.sh. And just use build_Openblas.sh. It works. |
I use openblas and in the demo, the code that:
caffeMobile.setNumThreads(4);
and in the jni:
openblas_set_num_threads(num_threads);
I seems that this change the number of cores that we use. However, when I change the number in setNumThreads(), from 1-6. It changes nothing. For example, it cost me 5s to run a image when the number is 1, and 5s as the number is 4(or others).
My arm has 6 cores.
So, would you tell me something about the function setNumThreads()?
Thank you!
The text was updated successfully, but these errors were encountered: