4 releases

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

#218 in Science

Download history 707/week @ 2024-07-21 615/week @ 2024-07-28 534/week @ 2024-08-04 400/week @ 2024-08-11 739/week @ 2024-08-18 916/week @ 2024-08-25 1251/week @ 2024-09-01 1035/week @ 2024-09-08 1277/week @ 2024-09-15 1397/week @ 2024-09-22 1157/week @ 2024-09-29 1313/week @ 2024-10-06 1378/week @ 2024-10-13 1520/week @ 2024-10-20 1345/week @ 2024-10-27 1485/week @ 2024-11-03

5,877 downloads per month
Used in 8 crates (6 directly)

MIT/Apache

17MB
335K SLoC

C 307K SLoC // 0.2% comments FORTRAN Legacy 20K SLoC // 0.3% comments C++ 3.5K SLoC // 0.3% comments Shell 2K SLoC // 0.4% comments GNU Style Assembly 1.5K SLoC // 0.1% comments Python 615 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.10", features = ["blis"] }

Dependencies