Skip to content
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

chore: Refactors CPU MSM operations using halo2curves library #230

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

huitseeker
Copy link
Contributor

@huitseeker huitseeker commented Jan 3, 2024

  • Expanded the msm module within the provider/util directory and introduced a new function, cpu_best_msm.
  • Changed the curves library dependency in bn256_grumpkin.rs from pasta_curves to halo2curves,
  • Removed the msm.rs file along with two associated functions cpu_msm_serial and cpu_best_msm used for non-GPU accelerated operations, and all related tests.
  • Reorganized the import of CurveAffine, CurveExt from the halo2curves library in provider/mod.rs.

Fixes #193
Obviates the forward-port of microsoft/Nova#288

- Expanded the `msm` module within the `provider/util` directory and introduced a new function, `cpu_best_msm`.
- Changed the curves library dependency in `bn256_grumpkin.rs` from `pasta_curves` to `halo2curves`,
- Removed the `msm.rs` file along with two associated functions `cpu_msm_serial` and `cpu_best_msm` used for non-GPU accelerated operations, and all related tests.
- Reorganized the import of `CurveAffine, CurveExt` from the `halo2curves` library in `provider/mod.rs`.

Fixes argumentcomputer#193
@huitseeker huitseeker added this pull request to the merge queue Jan 4, 2024
Merged via the queue into argumentcomputer:dev with commit ff30d9b Jan 4, 2024
7 checks passed
@huitseeker huitseeker deleted the issue/193 branch January 4, 2024 12:55
samuelburnham pushed a commit to samuelburnham/arecibo that referenced this pull request Jan 4, 2024
* Minor tweak (argumentcomputer#225)

* Minor tweak

* Minor tweak

* Revert "Minor tweak"

This reverts commit f416f838316d51b4275db53a95238c427e5d3f21.

* Formatted with rustfmt

* Linted with Clippy

* Release 0.24.0 (argumentcomputer#230)

* rename TrivialTestCircuit to TrivialCircuit

* address clippy warnings

* fix docstring

---------

Co-authored-by: Junhee Lee <[email protected]>
Co-authored-by: Srinath Setty <[email protected]>
Co-authored-by: Arthur Paulino <[email protected]>
huitseeker pushed a commit to huitseeker/arecibo that referenced this pull request Jan 14, 2024
* rename TrivialTestCircuit to TrivialCircuit

* address clippy warnings
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.

Implement a fancier msm for halo2curves-related crates
3 participants