-
Notifications
You must be signed in to change notification settings - Fork 36
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
setNumThreads not working in maven distribution #23
Comments
Hi amuseoffire, You should use BigDL-core/mkl2017-xeon-blas/jni/src/main/java/com/intel/analytics/bigdl/mkl/MKL.java Line 276 in 94120d6
The BigDL-core/mkl2017-xeon-blas/jni/src/main/java/com/intel/analytics/bigdl/mkl/MKL.java Line 88 in 94120d6
This project is mainly for https://github.com/intel-analytics/BigDL. So it contains some methods/functions which just fit to BigDL. |
Hi, Thank you for your response. I am seeing the same behavior with MKL.getNumThreads(). Here's the code: println("${MKL.getNumThreads()}") And the output is still this: 1 Any suggestions? Thanks. |
Hi, Thanks for your test. :) It's due to the bug (wrong usage of |
Thank you. When might I be able to pick up the fix on maven? |
Hi, we have pushed to sonatype with |
Hi,
I am using this jar:
https://mvnrepository.com/artifact/com.intel.analytics.bigdl.native/mkl-java/0.2.0
When I run the (Kotlin) code below
println("${MKL.getMklNumThreads()}, ${MKL.getNumThreads()}")
MKL.setNumThreads(2)
println("${MKL.getMklNumThreads()}, ${MKL.getNumThreads()}")
my output is
1, 1
true
1, 1
I see that there is a libiomp5.so in the jar. Any idea why setNumThreads isn't working?
Thanks.
The text was updated successfully, but these errors were encountered: