1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
//! [BLAS] source of choice. //! //! The usage of the package is explained [here][usage]. //! //! ## Configuration //! //! The following implementations are available: //! //! * `accelerate`, which is the one in the [Accelerate] framework (macOS only), //! * `intel-mkl`, which is the one in [Intel MKL], //! * `netlib`, which is the reference one by [Netlib], and //! * `openblas`, which is the one in [OpenBLAS]. //! //! An implementation can be chosen as follows: //! //! ```toml //! [dependencies] //! blas-src = { version = "0.2", features = ["accelerate"] } //! blas-src = { version = "0.2", features = ["intel-mkl"] } //! blas-src = { version = "0.2", features = ["netlib"] } //! blas-src = { version = "0.2", features = ["openblas"] } //! ``` //! //! [accelerate]: https://developer.apple.com/reference/accelerate //! [blas]: https://en.wikipedia.org/wiki/BLAS //! [intel mkl]: https://software.intel.com/en-us/mkl //! [netlib]: http://www.netlib.org/ //! [openblas]: http://www.openblas.net/ //! [usage]: https://blas-lapack-rs.github.io/usage #![no_std] #[cfg(feature = "accelerate")] extern crate accelerate_src as raw; #[cfg(feature = "intel-mkl")] extern crate intel_mkl_src as raw; #[cfg(feature = "netlib")] extern crate netlib_src as raw; #[cfg(feature = "openblas")] extern crate openblas_src as raw;