Lune

PPoPP2026顶会

SPIDER: Unleashing Sparse Tensor Cores for Stencil Computation via Strided Swapping

Qiqi Gu, Chenpeng Wu, Heng Shi, Jianguo Yao

摘要

Recent research has focused on accelerating stencil computations by exploiting emerging hardware like Tensor Cores. To leverage these accelerators, the stencil operation must be transformed to matrix multiplications. However, this transformation introduces undesired sparsity into the kernel matrix, leading to significant redundant computation.

In this paper, we present SPIDER, the first system to turn this unresolved sparsity into an optimization opportunity by exploring the potential of Sparse Tensor Cores (SpTCs) for stencil acceleration. Specifically, SPIDER introduces an efficient and elegant transformation method that integrates two cooperative techniques: an ahead-of-time strided swapping transformation for kernel matrices and an on-the-fly rowswapping mechanism for inputs. This rule-based approach effectively transforms stencil computation into operations compatible with SpTCs, introducing only slight compile-time overhead and zero runtime overhead. Additionally, SPIDER incorporates multiple optimizations to maximize computational efficiency. Experimental evaluations demonstrate that SPIDER outperforms vendor library cuDNN by 6.20× and state-of-the-art (SOTA) Tensor Core-based approaches (Con-vStencil, FlashFFTStencil, etc.) by 2.00× on average.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • STEP: Learning N: M Structured Sparsity Masks from Scratch with Precondition 引用了 DominoSearch: Find layer-wise fine-grained N: M sparse schemes from dense neural networks
  • STEP: Learning N: M Structured Sparsity Masks from Scratch with Precondition 引用了 Rigging the Lottery: Making All Tickets Winners
  • STEP: Learning N: M Structured Sparsity Masks from Scratch with Precondition 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
  • DominoSearch: Find layer-wise fine-grained N: M sparse schemes from dense neural networks 引用了 Rigging the Lottery: Making All Tickets Winners
  • DominoSearch: Find layer-wise fine-grained N: M sparse schemes from dense neural networks 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
  • Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch 引用了 Rigging the Lottery: Making All Tickets Winners
  • Dynamic N: M Fine-Grained Structured Sparse Attention Mechanism 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper14

  1. Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro 等ICML 2020 · 723 次引用
  2. Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu 等ICLR 2021 · 301 次引用
  3. DominoSearch: Find layer-wise fine-grained N: M sparse schemes from dense neural networksWei Sun, Aojun Zhou, Sander Stuijk, Rob G. J. Wijnhoven 等NeurIPS 2021 · 67 次引用
  4. STEP: Learning N: M Structured Sparsity Masks from Scratch with PreconditionYucheng Lu, Shivani Agrawal, Suvinay Subramanian, Oleg Rybakov 等ICML 2023 · 32 次引用
  5. Dynamic N: M Fine-Grained Structured Sparse Attention MechanismZhaodong Chen, Zheng Qu, Yuying Quan, Liu Liu 等PPoPP 2023 · 26 次引用

相关 Paper

  1. SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity TransformationQi Li, Kun Li, Haozhi Han, Liang Yuan 等SC 2025 · 3 次引用
  2. ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor CoresYuetao Chen, Kun Li, Yuhao Wang, Donglin Bai 等PPoPP 2024 · 25 次引用
  3. LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor CoresYiwei Zhang, Kun Li, Liang Yuan, Jiawen Cheng 等SC 2024 · 13 次引用
  4. Bridging the Gap between Unstructured SpMM and Structured Sparse Tensor CoresYukang Dong, Ziyuan Shen, Wenbin Jiang, Zhenghang Liu 等SC 2025 · 4 次引用
  5. Acc-SpMM: Accelerating General-purpose Sparse Matrix-Matrix Multiplication with GPU Tensor CoresHaisha Zhao, San Li, Jiaheng Wang, Chunbao Zhou 等PPoPP 2025 · 18 次引用
黄昏的海面,两侧是细线勾勒的悬崖