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

DevFeed: [Ascend-SpMM: Accelerating Sparse Matrix-Dense Matrix Multiplication on Ascend NPUs](<https://devfeed.tech/articles/ascend-spmm-accelerating-sparse-matrix-dense-matrix-multiplication-on-ascend-npus-113649.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.01936>)

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

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [GPU](<https://devfeed.tech/topics/gpu.md>)

Tags: [affinity](<https://devfeed.tech/tags/affinity.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [ascend](<https://devfeed.tech/tags/ascend.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cube](<https://devfeed.tech/tags/cube.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [gnn](<https://devfeed.tech/tags/gnn.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [graph-neural-networks](<https://devfeed.tech/tags/graph-neural-networks.md>), [hierarchy](<https://devfeed.tech/tags/hierarchy.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [latency](<https://devfeed.tech/tags/latency.md>), [mapping](<https://devfeed.tech/tags/mapping.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [round-robin](<https://devfeed.tech/tags/round-robin.md>), [scientific-computing](<https://devfeed.tech/tags/scientific-computing.md>), [source-code](<https://devfeed.tech/tags/source-code.md>), [training](<https://devfeed.tech/tags/training.md>), [vector](<https://devfeed.tech/tags/vector.md>)

## AI overview

Ascend-SpMM targets sparse matrix-dense matrix multiplication on Ascend NPUs, whose physically decoupled Cube/Vector architecture and single-threaded scalar dispatch pose optimization challenges. Its memory-centric cost model guides density-aware mapping: dense regions use the high-throughput Cube path, while sparse residuals use the Vector path, with a theoretical bound on cross-processor conflicts. Customized sub-kernels use hierarchy-aware pipelining and round-robin ring-buffer implicit synchronization to mask memory latency and reduce instruction stalls. The abstract reports a 12.70-20.55x geometric-mean speedup over the strongest evaluated NPU baseline per matrix, up to 6.8x faster end-to-end GNN training, and performance competitive with state-of-the-art GPU implementations.

## Source excerpt

arXiv:2611.01936v1 Announce Type: cross 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, densityaware 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.55X over the strongest evaluated NPU baseline for each matrix, accelerates end-to-end GNN training by up to 6.8X, 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.