intel / intel/BigDL-core

setNumThreads not working in maven distribution

Open
#23 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.