zkmopro / gpu-acceleration

7 stars 1 forks source link

Integrate Signed Bucket Indices method for Efficient Bucket Accumulation for Later Phase #8

Open moven0831 opened 1 week ago

moven0831 commented 1 week ago

Problem

The scalar decomposition and bucket aggregation stages are not optimized, leading to inefficient parallel processing and increased computation time in the MSM process.

Details

Adopt the signed bucket indices technique to optimize scalar decomposition and bucket aggregation. This method reduces the number of buckets by half, enhancing parallel processing efficiency and balancing the workload across Metal's GPU threads.

Acceptance criteria

Reference