Expand description
§Hasty
Hasty is a Rust wrapper for BLAS libraries, making use of highly optimised BLAS implementations found on the system. It finds these libraries via CMake, which is run as part of the build process.
To specify a particular BLAS library, set the HASTY_BLAS_PATH
environment variable to the absolute path to the library. If this
variable is not set, CMake will search for a library on the system.
§BLAS Vendors
Hasty supports multiple BLAS vendors, and will search your system
for a BLAS library automatically. If you want to specify which
library to use, you can set a feature flag in your Cargo.toml
.
generic
: Generic reference implementationacml
: AMD Core Math Libraryaccelerate
: Apple Acceleratearm
: ARM Performance Librariesatlas
: ATLAS (Automatically Tuned Linear Algebra Software)blis
: BLIS/Flame Frameworkopenblas
: OpenBLASmkl
: Intel MKL
For example:
# Cargo.toml
[dependencies]
hasty = { "x.y", features = ["openblas"] } # Use OpenBLAS backend
Modules§
- errors
- Hasty Errors
- hasty_
impl