Expliciting how to enable cuda.

This commit is contained in:
Nicolas Patry
2023-07-14 17:08:05 +02:00
parent 2d5e952cf9
commit dcb4a9291e
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ cargo run --example llama --release
cargo run --example falcon --release cargo run --example falcon --release
``` ```
In order to use **CUDA** add `--features cuda` to the example command line.
## Features ## Features

View File

@ -9,7 +9,7 @@ pub struct CudaStorage;
macro_rules! fail { macro_rules! fail {
() => { () => {
unimplemented!("cuda support has not been enabled") unimplemented!("cuda support has not been enabled, add `cuda` feature to enable.")
}; };
} }