Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building blocks for basefold pcs #133

Open
wants to merge 84 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
7f13794
feat: BabyBear base field
Sep 16, 2024
cd30560
feat: BabyBearExt4
Sep 16, 2024
13b7184
GKR BabyBear config (no SIMD)
Sep 16, 2024
795b8bc
fix: avx256 feature
Sep 16, 2024
c93b8b8
feat: BabyBear AVX512
Sep 16, 2024
e203f8f
feat: BabyBearExt4 AVX512
Sep 16, 2024
46fcba2
fix: sumcheck_helper poly degree
Sep 17, 2024
6af2318
temp: cargo config
Sep 17, 2024
69bd157
feat: BabyBear config
Sep 17, 2024
04e5cb5
feat: avx256 BabyBear
Sep 19, 2024
5368adb
feat: neon BabyBear
Sep 19, 2024
b4e7899
Test vectors for BabyBearExt4
Sep 19, 2024
f104b47
FIX: field for babybearext4x16
Sep 19, 2024
54c2026
feat: Babybear ext3
Sep 16, 2024
dfb0e42
chore: add missing babybear configs
Sep 19, 2024
e1fcc02
chore: add babybear to benchmark, correctness test
Sep 19, 2024
8505543
chore: move p3 imports to workspace
Sep 19, 2024
56f31a2
chore: double instead of mul by W
Sep 19, 2024
bbbc463
chore: remove dummy simd impls
Sep 19, 2024
940cf17
Merge branch 'zz/fix-ci-avx-target' into HEAD
zhenfeizhang Sep 23, 2024
1de5896
transcript crate
zhenfeizhang Sep 24, 2024
9034a39
refactoring transcript
zhenfeizhang Sep 24, 2024
9e58d97
Merge branch 'zz/transcript_refactor' into basefold
zhenfeizhang Sep 24, 2024
3681256
Merge branch 'baby-bear' into zz/field_refactor
zhenfeizhang Sep 24, 2024
35f4987
move babybear to its own crate
zhenfeizhang Sep 24, 2024
8d56926
fmt
zhenfeizhang Sep 24, 2024
b4e46f9
fix neon
zhenfeizhang Sep 24, 2024
b641093
fmt
zhenfeizhang Sep 24, 2024
f8e59e6
fix size bug
zhenfeizhang Sep 24, 2024
9bfbbec
fix CI
zhenfeizhang Sep 24, 2024
59d4645
Merge branch 'main' into zz/integrate_babybear
zhenfeizhang Sep 25, 2024
4115aa0
Update ci.yml
zhenfeizhang Sep 25, 2024
ad99dc7
clippy
zhenfeizhang Sep 25, 2024
4b74b8b
Merge branch 'zz/integrate_babybear' into basefold
zhenfeizhang Sep 26, 2024
b291c6c
cargo clippy
zhenfeizhang Sep 26, 2024
4ddb734
add poseidon hashes
zhenfeizhang Sep 26, 2024
37334cd
wip
zhenfeizhang Sep 26, 2024
85105bc
fix bug in poseidon
zhenfeizhang Oct 1, 2024
be7cdc1
wip
zhenfeizhang Oct 1, 2024
7364f4a
docs
zhenfeizhang Oct 1, 2024
65db035
wip
zhenfeizhang Oct 1, 2024
493217a
wip
zhenfeizhang Oct 1, 2024
a6a5fda
Merge branch 'main' into basefold
zhenfeizhang Oct 2, 2024
4dc728b
use p3 for tree
zhenfeizhang Oct 2, 2024
263b6cb
wip
zhenfeizhang Oct 2, 2024
5291b5d
wip
zhenfeizhang Oct 2, 2024
78b5bb6
refactoring the tree
zhenfeizhang Oct 3, 2024
729bd33
wip
zhenfeizhang Oct 3, 2024
3260571
wip
zhenfeizhang Oct 3, 2024
6692c0a
fft field
zhenfeizhang Oct 3, 2024
8d04ae8
fft for babybear
zhenfeizhang Oct 3, 2024
08e4104
wip
zhenfeizhang Oct 3, 2024
8d75dc6
almost there
zhenfeizhang Oct 3, 2024
8893870
refactor sumcheck
zhenfeizhang Oct 3, 2024
e5f74da
fix ci
zhenfeizhang Oct 3, 2024
55582e8
Merge branch 'zz/refactor_sumcheck' into basefold
zhenfeizhang Oct 3, 2024
6dcdf16
wip
zhenfeizhang Oct 8, 2024
556d593
refactor eq poly
zhenfeizhang Oct 8, 2024
05903e3
wip
zhenfeizhang Oct 8, 2024
b99cd8f
arbitrary sumcheck
zhenfeizhang Oct 9, 2024
3c5829b
wip
zhenfeizhang Oct 9, 2024
e5ec9a7
wip
zhenfeizhang Oct 9, 2024
fe2c9cd
build tests now
zhenfeizhang Oct 9, 2024
8d593c8
whoops endianess doesn't match...
zhenfeizhang Oct 9, 2024
794e747
Merge branch 'dev' into basefold
zhenfeizhang Oct 24, 2024
32309b5
clean
zhenfeizhang Oct 24, 2024
a2a8826
wip
zhenfeizhang Oct 25, 2024
c34d87e
wip
zhenfeizhang Oct 25, 2024
7b53541
Merge remote-tracking branch 'origin/dev' into basefold
zhenfeizhang Oct 25, 2024
980dff4
refactoring polynomials
zhenfeizhang Oct 25, 2024
436e81b
refactor polynomials
zhenfeizhang Oct 25, 2024
408a35d
fix tests
zhenfeizhang Oct 25, 2024
96604aa
more univariate apis
zhenfeizhang Oct 25, 2024
2583592
fixing sumcheck arbitrary
zhenfeizhang Oct 26, 2024
074087d
unit tests for sumcheck
zhenfeizhang Oct 26, 2024
478b39f
fixes
zhenfeizhang Oct 27, 2024
bc730b6
almost fixed
zhenfeizhang Oct 27, 2024
af75f74
clean up
zhenfeizhang Oct 28, 2024
8f3bf1f
fix ci
zhenfeizhang Oct 29, 2024
a39dbff
fix ci
zhenfeizhang Oct 29, 2024
01b0e50
fix ci
zhenfeizhang Oct 29, 2024
ed770b8
fix poseidon
zhenfeizhang Oct 29, 2024
d5bd079
fix clippy
zhenfeizhang Oct 29, 2024
c5db403
partial address comments
zhenfeizhang Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build]
rustflags = ["-C", "target-cpu=native"]
rustflags = ["-C", "target-cpu=native"]
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- run: python3 ./scripts/install.py
- run: cargo fmt --all -- --check
- run: cargo clippy --all
env:
RUSTFLAGS: "-Dwarnings -C target-cpu=native -C target-feature=+avx512f"

tonyfloatersu marked this conversation as resolved.
Show resolved Hide resolved
build-and-test:
name: Build and Test (${{ matrix.os }}${{ matrix.feature != '' && format(', {0}', matrix.feature) || '' }})
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ output.txt
# circuit files
/data/*

# Generated by SageMath
*.sage.py

# idea
.idea/

Expand Down
Loading
Loading