Skip to content

setNumThreads not working in maven distribution #23

@austin-sandia

Description

@austin-sandia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions