Reproduce “SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Qi Li, Kun Li, Haozhi Han, Liang Yuan, Junshi Chen, Yunquan Zhang, Yifeng Chen, Hong An and 2 more

SparStencil introduces the first system to retarget sparse Tensor Cores for scientific stencil computations, systematically transforming irregular stencil sparsity into structured 2:4 patterns. It achieves an average 3.1x speedup over state-of-the-art baselines and up to 7.1x peak, significantly enhancing hardware utilization for diverse scientific workloads.

Key insights

  • Stencil-induced sparsity should be viewed not as an overhead but as an opportunity for structured transformation and alignment with sparse Tensor Cores.
  • Irregular stencil-induced sparsity exhibits consistent, clustered spatial patterns that can be systematically reshaped into hardware-friendly forms.
  • A hierarchical, graph-theoretic matching algorithm can efficiently and optimally permute non-zero elements to satisfy 2:4 sparsity constraints for sparse TCUs.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.