-
Notifications
You must be signed in to change notification settings - Fork 125
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
perf: the dynamic Dory commitment computation should have a GPU implementation #247
Conversation
…mic_dory_commitment_helper_gpu module
… create metadata tables that are used to call Blitzar's vlen_msm function
…r's vlen_msm function
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.
Minor NIT. Otherwise looks good.
crates/proof-of-sql/src/proof_primitive/dory/dynamic_dory_commitment_helper_gpu.rs
Show resolved
Hide resolved
7c2a4e9
to
6b14187
Compare
6b14187
to
d820af9
Compare
…mic_dory_commitment_helper_gpu module
… create metadata tables that are used to call Blitzar's vlen_msm function
…r's vlen_msm function
d820af9
to
78c26d4
Compare
…melabs/sxt-proof-of-sql into perf/dynamic-dory-gpu
* tests are added to check when there are no sub commits
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.
Reviewing the changes since last approval - it looks like it's just handling empty tables more explicitly?
Took me a sec to understand the already-approved code but LGTM
Rationale for this change
The Blitzar project implemented a
vlen_msm
function that is optimized for the dynamic Dory structure. This PR creates thedynamic_dory_commitment_helper_gpu
module when using the blitzar feature flag. Helper functions are added that create the input needed for Blitzar's vlen_msm function.This work is the final piece of a PR that was split up: #231.
What changes are included in this PR?
#[allow(dead_code)]
tags are removed from thedynamic_dory_structure
module.pack_scalars::min_as_f
is made public - this will likely need refactored in a follow up PR when thecompute_dynamic_T_vec_prime
is ported to the GPU.Are these changes tested?
Yes