#blas #blis

sys blis-src

Rust native linking for BLIS library

3 unstable releases

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

#165 in Science

Download history 63/week @ 2022-08-19 68/week @ 2022-08-26 100/week @ 2022-09-02 61/week @ 2022-09-09 40/week @ 2022-09-16 38/week @ 2022-09-23 74/week @ 2022-09-30 74/week @ 2022-10-07 66/week @ 2022-10-14 84/week @ 2022-10-21 87/week @ 2022-10-28 120/week @ 2022-11-04 92/week @ 2022-11-11 62/week @ 2022-11-18 67/week @ 2022-11-25 39/week @ 2022-12-02

279 downloads per month
Used in 5 crates (4 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