Close

Presentation

This content is available for: Technical Program Reg Pass. Upgrade Registration
SPIKe: Generating Practical SpMV Kernels for Sparse Iterative Methods on GPUs
DescriptionSparse iterative methods with static sparse matrices form the backbone of many applications, where SpMV is the primary performance bottleneck. Conventional optimizations typically involve costly matrix-specific preprocessing, causing unamortizable overhead as algorithmic advances reduce iteration counts. We present SPIKe, a practical SpMV kernel generator targeting efficient sparse iterative methods across a wide spectrum of iteration counts. SPIKe comprises three key techniques: 1) Online Thread-Level Parallelism Adaptation policy, using a thread-computed row span proxy to enhance load balance for uniform tiles; 2) Online Warp-Level Asymmetric Scheduling policy, featuring a lightweight Warp-as-a-Sensor to route skewed tiles to asymmetric code paths; 3) Offline Architecture-Domain Co-Aware Code Generation for kernel optimization following the preceding policies. Across 2,294 matrices, SPIKe outperforms six baselines with negligible preprocessing overhead. In end-to-end evaluations spanning varying iteration counts, SPIKe achieves average speedups of 2.78x for PageRank and 4.26x for GMRES against GraphBLAS and PETSc.