setNumThreads not working in maven distribution
Open
- Dominant language
- C++
- Stars
- 37
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.