-
Notifications
You must be signed in to change notification settings - Fork 607
chore: kernels start with eq and reset #15734
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
Merged
maramihali
merged 49 commits into
merge-train/barretenberg
from
mm/kernels-start-with-reset
Jul 18, 2025
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
c0153a5
[empty] Start merge-train. Choo choo.
dfdc1b5
Merge branch 'next' into merge-train/barretenberg
3efb90e
Merge branch 'next' into merge-train/barretenberg
f447c5a
Merge branch 'next' into merge-train/barretenberg
0772339
feat!: Merge with degree check (#15562)
federicobarbacovi ff8bd12
fix: Fix the docker build action for fuzzing (#15719)
Sarkoxed ecaa2d5
fix: restore accidentally deleted files (#15724)
johnathan79717 3eb8414
fix: civc wasm memory regression (#15722)
iakovenkos aa0f43c
feat: mmap backed polynomials (#15531)
johnathan79717 3ab6d4a
Merge branch 'next' into merge-train/barretenberg
9bb979b
kernels start with eq and reset
cc9ba6e
cleanup
829b1a3
remove whitespace
0428551
Merge branch 'next' into merge-train/barretenberg
917523f
Merge branch 'next' into merge-train/barretenberg
ddfc800
Merge branch 'next' into merge-train/barretenberg
2c3b398
Merge branch 'next' into merge-train/barretenberg
37932f1
Merge branch 'next' into merge-train/barretenberg
740b698
feat(bbapi): CLI uses bbapi CIVC (#15702)
ludamad 8d0ef02
Merge branch 'next' into merge-train/barretenberg
64640de
Merge branch 'next' into merge-train/barretenberg
6595929
update vks
3e2eb01
Merge remote-tracking branch 'origin/merge-train/barretenberg' into m…
4f3ffc1
Merge branch 'next' into merge-train/barretenberg
b8b1bf0
again
7297bfa
Merge branch 'next' into merge-train/barretenberg
1cbe628
Merge branch 'next' into merge-train/barretenberg
4a951db
Merge remote-tracking branch 'origin/merge-train/barretenberg' into m…
65fe8a9
Merge branch 'next' into merge-train/barretenberg
667ae09
fix issues
78bd2ed
Merge remote-tracking branch 'origin/merge-train/barretenberg' into m…
5de48f4
wopsie
43cfb9f
remove added archive and undo unnecessary modifications
9f27abb
[empty] Start merge-train. Choo choo.
6893736
Merge branch 'next' into merge-train/barretenberg
6cd32ca
Merge branch 'next' into merge-train/barretenberg
29c5a1f
Merge branch 'next' into merge-train/barretenberg
921cd03
Merge branch 'next' into merge-train/barretenberg
0968cf0
Merge branch 'next' into merge-train/barretenberg
de7c071
Merge branch 'next' into merge-train/barretenberg
8456fac
Merge branch 'next' into merge-train/barretenberg
ad3dea5
Merge branch 'next' into merge-train/barretenberg
7ea4056
Merge branch 'next' into merge-train/barretenberg
8b71509
Merge branch 'next' into merge-train/barretenberg
b10e089
is kernel set only in the builder constructor
4d6cc06
Merge remote-tracking branch 'origin/merge-train/barretenberg' into m…
5ed5b7c
update vks
29d3baf
Merge remote-tracking branch 'origin/merge-train/barretenberg' into m…
745ac41
vks
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,7 +120,7 @@ class PrivateFunctionExecutionMockCircuitProducer { | |
| // Assume only every second circuit is a kernel, unless force_is_kernel == true | ||
| bool is_kernel = (circuit_counter % 2 == 0) || force_is_kernel; | ||
|
|
||
| ClientCircuit circuit{ ivc.goblin.op_queue }; | ||
| ClientCircuit circuit{ ivc.goblin.op_queue, is_kernel }; | ||
| if (is_kernel) { | ||
| GoblinMockCircuits::construct_mock_folding_kernel(circuit); // construct mock base logic | ||
| mock_databus.populate_kernel_databus(circuit); // populate databus inputs/outputs | ||
|
|
@@ -183,18 +183,17 @@ class ClientIVCMockCircuitProducer { | |
| * only necessary if the structured trace is not in use). | ||
| * | ||
| */ | ||
| static ClientCircuit create_mock_circuit(ClientIVC& ivc, size_t log2_num_gates = 16) | ||
| static ClientCircuit create_mock_circuit(ClientIVC& ivc, size_t log2_num_gates = 16, bool is_kernel = false) | ||
| { | ||
| ClientCircuit circuit{ ivc.goblin.op_queue }; | ||
| ClientCircuit circuit{ ivc.goblin.op_queue, is_kernel }; | ||
| MockCircuits::construct_arithmetic_circuit(circuit, log2_num_gates, /* include_public_inputs= */ false); | ||
| return circuit; | ||
| } | ||
|
|
||
| public: | ||
| ClientCircuit create_next_circuit(ClientIVC& ivc, size_t log2_num_gates = 16, const size_t num_public_inputs = 0) | ||
| { | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this was actually a kinda bug cus create_mock_circuit was recreating the circuit |
||
| ClientCircuit circuit{ ivc.goblin.op_queue }; | ||
| circuit = create_mock_circuit(ivc, log2_num_gates); // construct mock base logic | ||
| ClientCircuit circuit = create_mock_circuit(ivc, log2_num_gates, is_kernel); // construct mock base logic | ||
| while (circuit.num_public_inputs() < num_public_inputs) { | ||
| circuit.add_public_variable(13634816); // arbitrary number | ||
| } | ||
|
|
||
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
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
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
Oops, something went wrong.
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.
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.
this was a closed so I removed it