3 unstable releases

0.2.1 May 1, 2022
0.2.0 Nov 30, 2020
0.1.0 May 19, 2018

#257 in Science

Download history 25/week @ 2023-12-11 56/week @ 2023-12-18 17/week @ 2023-12-25 14/week @ 2024-01-01 42/week @ 2024-01-08 29/week @ 2024-01-15 33/week @ 2024-01-22 25/week @ 2024-01-29 16/week @ 2024-02-05 90/week @ 2024-02-12 57/week @ 2024-02-19 352/week @ 2024-02-26 457/week @ 2024-03-04 421/week @ 2024-03-11 798/week @ 2024-03-18 703/week @ 2024-03-25

2,426 downloads per month
Used in 7 crates (6 directly)

MIT/Apache

17MB
341K SLoC

C 314K SLoC // 0.2% comments FORTRAN Legacy 20K SLoC // 0.3% comments C++ 3K SLoC // 0.3% comments Shell 1.5K SLoC // 0.4% comments GNU Style Assembly 1.5K SLoC // 0.0% comments Python 602 SLoC // 0.4% comments Rust 160 SLoC // 0.0% comments

blis-src

This crate provides BLAS and/or CBLAS functions using BLIS.

Features:

  • 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:

[dependencies]
blas-src = { version = "0.8", features = ["blis"] }

Dependencies