mopro icon indicating copy to clipboard operation
mopro copied to clipboard

Improve MSM performance using GPU

Open moven0831 opened this issue 1 year ago • 0 comments

  • Part of #22

Problem

We want to optimize the performance of MSM on mobile devices using GPU. This will be the groundwork for the enhancement of the mobile proving system.

Details

  • Use ark-msm as a baseline and compare benchmarks of other MSM algorithms (e.g. ZPrize works) on real devices.
  • Reproduce the benchmarking with laptop/server GPU.
  • Experiment and understand the details of how to use GPU on mobile proving.
    • Aim for Apple GPU Metal framework first. Then, backlog CUDA and OpenCL.
    • Important steps for integrating a GPU-friendly proving system in #22 as well
  • Enable the msm scheme to run on iOS devices with GPU acceleration.
  • Optimize the MSM execution with mobile-specific works such as parallel computation.
  • Provide documentation and instructions to how to enable GPU acceleration in the proving process on mobile.

Acceptance criteria

  • Integrate an MSM algorithm with GPU acceleration and mobile-specific enhancements.
  • Suitable for future works about integrating the MSM algorithm into the actual proving system.

moven0831 avatar Feb 23 '24 09:02 moven0831