Open vivianjeng opened 4 months ago
can i take on this issue ?
@mahmudsudo Thank you for showing your interest. @moven0831 and @FoodChain1028 have already taken this issue and implemented them. If you are looking for collaboration, please join the tg group: https://t.me/zkmopro We can talk more about this.
Problem
copied from https://github.com/zkmopro/mopro/issues/153
The current implementation of Metal MSM leverages GPU resources only partially, leading to suboptimal performance. To fully exploit GPU capabilities, we need to optimize the MSM process by addressing identified overheads and implementing enhancements.
Details
Current Implementation
The Metal MSM implementation currently derives from Lambdawork's metal backend and Arkworks' MSM implementation. Metal is used only for the MSM accumulation phase on the GPU, while other phases run on the CPU. This partial GPU utilization limits potential performance gains.
Identified Overheads
Optimization Goals
By addressing these areas, we aim to significantly enhance MSM computation speed using Metal.
Acceptance Criteria