Skip to content

Support for benchmarks#822

Open
matthiasgoergens wants to merge 20 commits intomasterfrom
matthias/sproll-support-minimal
Open

Support for benchmarks#822
matthiasgoergens wants to merge 20 commits intomasterfrom
matthias/sproll-support-minimal

Conversation

@matthiasgoergens
Copy link
Copy Markdown
Contributor

Extracted from #809 because we need the non-controversial parts for other benchmarks. That is anything but pub const MAX_NUM_VARIABLES: usize = 27;

Comment thread ceno_emul/src/platform.rs
self.public_io,
self.hints,
self.unsafe_ecall_nop
"Platform {{ rom: {:#x?}, prog_data: {prog_data}, stack: {:#x?}, heap: {:x?}, public_io: {:#x?}, hints: {:#x?}, unsafe_ecall_nop: {} }}",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hex is easier to read here (because we use round numbers, only when expressed in powers of 2), and it's also how we specify these numbers in our linker script etc.

Comment thread ceno_zkvm/src/e2e.rs
pi: PublicValues<u32>,
}

// TODO(Matthias): handle hints properly.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something to fix soon. But I don't know enough at the moment.

It's definitely broken in master, though.

Comment thread ceno_zkvm/src/e2e.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants