blas_src/
lib.rs

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