Skip to content

Commit

Permalink
Update readme for toggling on and off icicle acceleration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfelder committed Nov 5, 2023
1 parent 41458ca commit 1f98897
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,16 @@ instantiated with the following curve(s)

To use GPUs, add the `icicle` buildtag to your build/run commands, e.g. `go run -tags=icicle main.go`.

You can then toggle on or off icicle acceleration by providing the `WithIcicleAcceleration` backend ProverOption:

```go
// toggle on
proofIci, err := groth16.Prove(ccs, pk, secretWitness, backend.WithIcicleAcceleration())

// toggle off
proof, err := groth16.Prove(ccs, pk, secretWitness)
```

For more information about prerequisites see the [Icicle repo](https://github.com/ingonyama-zk/icicle).

## Citing
Expand Down

0 comments on commit 1f98897

Please sign in to comment.