Compare commits

...

3 Commits

2 changed files with 10 additions and 6 deletions

View File

@ -29,6 +29,10 @@ $ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
```
If you plan to run with GPU optimizations enabled (not recommended), you'll need a CUDA library stored in git LFS. Install git-lfs here:
https://git-lfs.github.com/
Now checkout the code from github:
```bash
@ -133,6 +137,12 @@ Run the benchmarks:
$ cargo +nightly bench --features="unstable"
```
To run the benchmarks on Linux with GPU optimizations enabled:
```bash
$ cargo +nightly bench --features="unstable,cuda"
```
Code coverage
---

View File

@ -1,6 +0,0 @@
#!/bin/bash
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
source $HOME/.cargo/env
export PATH=$PATH:/usr/local/cuda/bin
cp /tmp/libcuda_verify_ed25519.a .
cargo test --features=cuda