Skip to content

Commit 8cc91b7

Browse files
committed
Update README for Icicle instructions
1 parent 1559388 commit 8cc91b7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ Stwo is a next generation implementation of a [CSTARK](https://eprint.iacr.org/2
4242
- **High performance:** Stwo is designed to be extremely fast and efficient.
4343
- **Flexible:** Adaptable for various validity proof applications.
4444

45+
### ICICLE GPU Acceleration Support
46+
47+
[ICICLE](https://github.com/ingonyama-zk/icicle-stwo/tree/feat/icicle-backend) GPU acceleration is supported in a limited capacity via the [`IcicleBackend`](./crates/prover/src/core/backend/icicle/)
48+
49+
In order to enable the backend and using it, the `icicle` feature must be used.
50+
4551
## 📊 Benchmarks
4652

4753
Run `poseidon_benchmark.sh` to run a single-threaded poseidon2 hash proof benchmark.
@@ -50,6 +56,16 @@ Further benchmarks can be run using `cargo bench`.
5056

5157
Visual representation of benchmarks can be found [here](https://starkware-libs.github.io/stwo/dev/bench/index.html).
5258

59+
### ICICLE GPU Benchmarks for Fibonacci
60+
61+
A test for Fibonacci using the `IcicleBackend` can be found [here](./crates/prover/src/examples/wide_fibonacci/mod.rs#L252).
62+
63+
You can run it via the CLI as follows:
64+
65+
```
66+
MIN_FIB_LOG=20 MAX_FIB_LOG=20 cargo test tests::test_wide_fib_prove_with_blake_icicle --features parallel,icicle --release -- --nocapture
67+
```
68+
5369
## 📜 License
5470

5571
This project is licensed under the **Apache 2.0 license**.

0 commit comments

Comments
 (0)