Manuscript Offprint

arXiv:2611.01936

Ascend-SpMM: Accelerating Sparse Matrix-Dense Matrix Multiplication on Ascend NPUs

Jiahe Wang, Yingxia Shao, Shuhan Wang, Qingbo Ge, Hongzheng Li, Yucheng Zhang

Jiahe Wang

Beijing University of Posts and

Telecommunications

Beijing, China

meaningful@bupt.edu.cn

Yingxia Shao ∗^{*}

Beijing University of Posts and

Telecommunications

Beijing, China

shaoyx@bupt.edu.cn

Qingbo Ge

Beijing University of Posts and

Telecommunications

Beijing, China

geqingbo@bupt.edu.cn

Hongzheng Li

Beijing University of Posts and

Telecommunications

Beijing, China

Ethan_Lee@bupt.edu.cn

Shuhan Wang

Beijing University of Posts and

Telecommunications

Beijing, China

wangshuhan@bupt.edu.cn

Yucheng Zhang ∗^{*}

Huawei Co., Ltd

Beijing, China

zhangyucheng23@huawei.com

Abstract

Sparse Matrix-Dense Matrix Multiplication (SpMM) is a fundamental kernel in graph neural networks and scientific computing, yet its optimization on Ascend NPUs remains largely unexplored. The physically decoupled Cube/Vector architecture and single-threaded scalar instruction dispatch of modern NPUs introduce unique challenges. We present Ascend-SpMM, a novel and systematic framework tailored to the physically decoupled architecture of Ascend NPUs. We introduce a memory-centric cost model that quantifies hardware affinity and guides a conflict-bounded, density-aware task-mapping strategy. The strategy maps dense regions to the high-throughput Cube path and sparse residuals to the flexible Vector path, with a theoretical bound on cross-processor conflicts. To execute these workloads with high efficiency, we further develop highly customized sub-kernels. These kernels leverage hierarchy-aware pipelining and round-robin ring buffer-based implicit synchronization to effectively mask memory latency and reduce instruction pipeline stalls. Extensive experiments demonstrate that Ascend-SpMM achieves a geometric-mean speedup of 12.70–20.55× over the strongest evaluated NPU baseline for each matrix, accelerates end-to-end GNN training by up to 6.8×, and delivers performance competitive with state-of-the-art GPU implementations. The source code of Ascend-SpMM is publicly available at https://github.com/IDMG-Lab/Ascend-SpMM.

ACM Reference Format:

Jiahe Wang, Yingxia Shao, Shuhan Wang, Qingbo Ge, Hongzheng Li, and Yucheng Zhang. 2027. Ascend-SpMM: Accelerating Sparse Matrix-Dense Matrix Multiplication on Ascend NPUs. In Proceedings of 32nd ACM SIGPLAN Annual Symposium on Principles and Practice of Parallel Programming (PPoPP '27). ACM, New York, NY, USA, 12 pages. https://doi.org/XXXXXXX.XXXXXXX

References (7)