-
Notifications
You must be signed in to change notification settings - Fork 100
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
Remove next references in lookups / permutations #2141
Conversation
Currently, when we run the Goldilocks RISC-V machine with `--linker-mode bus` results in: `Double application of "'" on: main_binary::operation_id` because of #2140. This PR hot-fixes it, so we can run benchmarks using the bus. Only adds 3 witness columns (1 in binary, 2 in shift).
Tests fail |
riscv/tests/riscv.rs
Outdated
#[cfg(feature = "estark-polygon")] | ||
#[test] | ||
#[ignore = "Too slow"] | ||
fn vec_median_estark_polygon() { | ||
let case = "vec_median"; | ||
verify_riscv_crate(case, &[5u64, 11, 15, 75, 6, 5, 1, 4, 7, 3, 2, 9, 2], true); | ||
} |
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 test appears to be identical to vec_median
!
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.
It is, but it was made a separate test because it runs in its own job, it's the only riscv test that's run with estark-polygon
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.
Meaning I dont think we should remove it
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.
OK, I undid it!
I'm not sure I understood this though, if they are the same, why can't we run the other one with the estark-polygon
feature? Could be nice to add a comment about that as well.
Anyway, not the topic of this PR...
@@ -69,7 +73,7 @@ pub fn verify_riscv_asm_string<T: FieldElement, S: serde::Serialize + Send + Syn | |||
pipeline.rollback_from_witness(); | |||
let executor_trace: Vec<_> = execution.trace.into_iter().collect(); | |||
let pipeline = pipeline.add_external_witness_values(executor_trace); | |||
test_plonky3_pipeline::<T>(pipeline); | |||
test_mock_backend(pipeline); |
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 gives much better error messages.
Currently, when we run the Goldilocks RISC-V machine with `--linker-mode bus` results in: `Double application of "'" on: main_binary::operation_id` because of #2140. This PR hot-fixes it, so we can run benchmarks using the bus. Only adds 3 witness columns (1 in binary, 2 in shift).
Currently, when we run the Goldilocks RISC-V machine with
--linker-mode bus
results in:Double application of "'" on: main_binary::operation_id
because of #2140. This PR hot-fixes it, so we can run benchmarks using the bus. Only adds 3 witness columns (1 in binary, 2 in shift).