This crate provides BLAS and/or CBLAS functions using BLIS.
cblas
: build the CBLAS interface (enabled by default)static
: prefer static link (be very careful with this one on Apple platforms)pthreads
or openmp
or serial
: choose exactly one to specify the threading mode (pthreads
by default)system
: do not compile BLIS and instead use a system-provided version (must be in system's default link path).This package does not provides Rust declarations for BLAS or CBLAS, which
are available in the blas-sys
and
cblas-sys
crates. See the blas
example and cblas example
for usage.
Users simply seeking a fast BLAS are encouraged to use
blas-sys
with the following in
Cargo.toml
:
toml
[dependencies]
blas-src = { version = "0.8", features = ["blis"] }