-
Notifications
You must be signed in to change notification settings - Fork 73
Feat/poseidon2 #95
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
Closed
Closed
Feat/poseidon2 #95
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refactor CPU tests, add positive tests for CPU, fix relevant bugs in AIR and trace generation
Add program chip, move instruction frequency calculation to CPU trace, add positive tests for program
Include program chip (+ positive tests) in commit (forgot to last time), add negative tests, change cpu::trace::Memory to return 0 for cells that haven't been written to, change CPU's generate_trace to terminate when pc goes out of bounds (previously was only when pc = -1)
Add dependency on derive-new, derive new for Instruction, use that in cpu/tests/mod.rs, add comment explaining program used in test_negative.
Refactor MemoryAccess for eventual merge with memory::MemoryAccess. Analogously change MemoryAccessCols.value to .data for consistency.
Add terminate instruction, and use to make sure CPU trace height is power of 2. Also make sure that program trace height is power of 2 by adding jumps to same instruction. Refactor tests using ::from_size to construct Instruction, MemoryAccess, ArithmeticOperation.
…ark proving engine
… quotient poly degree back to 7, remove debug statements
jonathanpwang
pushed a commit
that referenced
this pull request
Jun 3, 2025
jonathanpwang
pushed a commit
that referenced
this pull request
Aug 14, 2025
* Cuda tracegen + tests for Rv32HintStore * fix: MemoryWriteAuxAdapter * fill zero for some fields
jonathanpwang
pushed a commit
that referenced
this pull request
Aug 14, 2025
* Cuda tracegen + tests for Rv32HintStore * fix: MemoryWriteAuxAdapter * fill zero for some fields
jonathanpwang
pushed a commit
that referenced
this pull request
Aug 19, 2025
* Cuda tracegen + tests for Rv32HintStore * fix: MemoryWriteAuxAdapter * fill zero for some fields
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Wide poseidon2 permute on a width 16 state. (Should also support width 24, but untested)
Description of function and implementation on HackMD.
Supports
requestso that other functions can statefully generate output and then retrieve the generated trace.