f# - MathNet.Numerics not utilizing the Mkl native provider -
i have f# project uses mathnet.numerics linear algebra routines.
i have placed following code in f# module:
module linearalgebra open mathnet.numerics open mathnet.numerics.linearalgebra.double open mathnet.numerics.linearalgebra.generic control.linearalgebraprovider <- new algorithms.linearalgebra.mkl.mkllinearalgebraprovider()
but times seeing matrix multiplication remain same whether have line of code enabled or commented out.
i have installed mkl provider nuget package described here: http://christoph.ruegg.name/blog/mathnet-numerics-with-native-linear-algebra.html
and have ensured these 2 dlls copied bin directory: libiomp5md.dll mathnet.numerics.mkl.dll
any ideas how can detect if native provider being used?
the docs bit more date mentioned blog post, seems required steps have been done.
- how large matrices?
- are involved matrices dense?
- is module module linear algebra code in? if not, have made sure module executed - before linear algebra code?
you can verify native provider enabled checking control.linearalgebraprovider
right before linear algebra code executed. in v3, calling tostring
on provide additional info platform , revision well.
Comments
Post a Comment