Update readme with blas-accelerate flag information (#236)

This commit is contained in:
Dilshod Tadjibaev 2023-03-15 20:44:13 -05:00 committed by GitHub
parent ed5888e701
commit aa8c96d3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -5,15 +5,17 @@
[![Current Crates.io Version](https://img.shields.io/crates/v/burn-ndarray.svg)](https://crates.io/crates/burn-ndarray)
[![license](https://shields.io/badge/license-MIT%2FApache--2.0-blue)](https://github.com/burn-rs/burn-ndarray/blob/master/README.md)
## Feature Flags
This crate can be used without the standard library (`#![no_std]`) with `alloc` by disabling
the default `std` feature.
This crate can be used without the standard library (`#![no_std]`) with `alloc` by disabling the
default `std` feature.
The following flags support various BLAS options:
* `blas-netlib`
* `blas-openblas`
* `blas-openblas-system`
Note, under the `no_std` mode, a random seed is generated during the build time if the seed is not initialized by by `Backend::seed` method.
- `blas-accelerate` - Accelerate framework (macOS only)
- `blas-netlib` - Netlib
- `blas-openblas` - OpenBLAS static linked
- `blas-openblas-system` - OpenBLAS from the system
Note, under the `no_std` mode, a random seed is generated during the build time if the seed is not
initialized by by `Backend::seed` method.