Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sha256 coprocessor discarded bits (#1127)
* Update sha256 coprocessor discarded bits Previously, the pallas curve had a capacity of 254 bits. The new bn256 curve has a capacity of 253 bits. This makes the pack_bits gadget used by sha256 coprocessor drop the three most significant bits of the output instead of just two. This commit updates the coprocessor's evaluate_simple implementation to set the correct number of bits to zero based on the field used to avoid a panic caused by a mismatch between the synthesize and evaluate outputs. * clippy --------- Co-authored-by: Arthur Paulino <arthurleonardo.ap@gmail.com>
- Loading branch information
ce2f33a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks
Table of Contents
Overview
This benchmark report shows the Fibonacci GPU benchmark.
NVIDIA L4
Intel(R) Xeon(R) CPU @ 2.20GHz
32 vCPUs
125 GB RAM
Workflow run: https://github.com/lurk-lab/lurk-rs/actions/runs/7986793880
Benchmark Results
LEM Fibonacci Prove - rc = 100
ref=5458a5308d6a370a09ba6543aab3a1a3d7883c1a
ref=ce2f33aab56e8fa0a6666e417f5a2ac6a2ab6c77
num-100
1.45 s
(✅ 1.00x)1.45 s
(✅ 1.00x faster)num-200
2.78 s
(✅ 1.00x)2.78 s
(✅ 1.00x faster)LEM Fibonacci Prove - rc = 600
ref=5458a5308d6a370a09ba6543aab3a1a3d7883c1a
ref=ce2f33aab56e8fa0a6666e417f5a2ac6a2ab6c77
num-100
1.83 s
(✅ 1.00x)1.82 s
(✅ 1.01x faster)num-200
3.02 s
(✅ 1.00x)3.02 s
(✅ 1.00x faster)Made with criterion-table