zkmopro / gpu-acceleration

7 stars 1 forks source link

Implement Sparse Matrix Transposition and SMVP in Metal #9

Open moven0831 opened 1 week ago

moven0831 commented 1 week ago

Problem

The accumulation phase of MSM can use sparse matrix transposition and Sparse Matrix-Vector Product (SMVP) operations for better efficiency. The current implementation does naive bucket accumulation.

Details

Develop efficient sparse matrix transposition and SMVP algorithms optimized for Metal. These optimizations will facilitate parallel bucket accumulation, thereby accelerating the MSM process on iOS devices.

Acceptance criteria

Reference