Giter Site home page Giter Site logo

blas in ndarray about ndarray-linalg HOT 5 CLOSED

rust-ndarray avatar rust-ndarray commented on June 13, 2024
blas in ndarray

from ndarray-linalg.

Comments (5)

termoshtt avatar termoshtt commented on June 13, 2024

Thank you for your comment, and rust-ndarray!

Please note that it's best to migrate to the Ix1, Ix2 etc dimensionality type aliases, for compatibility with future versions.

I see. I will fix them.

ndarray needs the "blas" feature to enable using blas for its matrix multiplication (and dot product).
That feature enables calling blas without explicitly picking any particular backend.
Picking backend is tricky in general; indeed none of our libraries should pick one, but enable the end user, final application, to pick the blas/lapack provider.

I enable "blas" feature in my last simulation code. Should I enable it on this library?
Since this project already depends on openblas-src via lapack, I do not hesitate to depend on blas-sys.

from ndarray-linalg.

bluss avatar bluss commented on June 13, 2024

If you unconditionally use lapack in your crate, I think you should depend on ndarray's "blas" feature.

from ndarray-linalg.

termoshtt avatar termoshtt commented on June 13, 2024

Thx, I will reconsider about blas feature when I introduce conditional compilation for LAPACK.

from ndarray-linalg.

termoshtt avatar termoshtt commented on June 13, 2024

"blas" feature of ndarray is enabled

from ndarray-linalg.

bluss avatar bluss commented on June 13, 2024

great

from ndarray-linalg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.