Skip to content

Commit 5e77095

Browse files
committed
API: Add crate feature matrixmultiply-threading
This feature enables threading in the matrixmultiply crate.
1 parent 09884fc commit 5e77095

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ docs = ["approx", "serde", "rayon"]
7373
std = ["num-traits/std", "matrixmultiply/std"]
7474
rayon = ["rayon_", "std"]
7575

76+
matrixmultiply-threading = ["matrixmultiply/threading"]
77+
7678
[profile.release]
7779
[profile.bench]
7880
debug = true

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ your `Cargo.toml`.
8686
Uses ``blas-src`` for pluggable backend, which needs to be configured
8787
separately (see below).
8888

89+
- ``matrixmultiply-threading``
90+
91+
- Enable the ``threading`` feature in the matrixmultiply package
92+
8993
How to use with cargo
9094
---------------------
9195

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@
8787
//! - Enable transparent BLAS support for matrix multiplication.
8888
//! Uses ``blas-src`` for pluggable backend, which needs to be configured
8989
//! separately (see the README).
90+
//! - `matrixmultiply-threading`
91+
//! - Enable the ``threading`` feature in the matrixmultiply package
9092
//!
9193
//! ## Documentation
9294
//!

0 commit comments

Comments
 (0)