Cargo Features
NextPlaid has no features set by default.
[dependencies]
next-plaid = { version = "1.1.0", features = ["accelerate", "openblas", "cuda"] }
- accelerate = accelerate-src, blas-src
-
Enables blas of ndarray ^0.16 and accelerate of fastkmeans-rs
fastkmeans-rs:
Use Apple Accelerate framework (macOS only, recommended for macOS)
- openblas = blas-src, openblas-src
-
Enables blas of ndarray ^0.16 and openblas of fastkmeans-rs
fastkmeans-rs:
BLAS acceleration features
Use system OpenBLAS (requires libopenblas-dev on Linux, brew install openblas on macOS) - cuda
-
Enables cudarc ^0.12 and cuda of fastkmeans-rs
fastkmeans-rs:
CUDA GPU acceleration
Requires CUDA toolkit installed (nvcc in PATH)Affects
kmeans::compute_centroids,next-plaid::cuda…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.