Do We Need Tensor Cores for Stencil Computations?
Qiqi Gu, Chenpeng Wu, Heng Shi, Jianguo Yao, Haibing Guan

TL;DR
This paper systematically analyzes the performance of stencil computations on Tensor Cores, revealing conditions under which they provide speedups and how sparse Tensor Cores expand these benefits, guiding optimization strategies.
Contribution
It introduces an analytical performance model and criteria for evaluating Tensor Core suitability for stencil workloads, supported by extensive GPU evaluations.
Findings
Tensor Cores can accelerate stencil computations under specific conditions.
The performance model accurately predicts speedup regions for different stencil types.
Sparse Tensor Cores further extend the effective acceleration space.
Abstract
Stencil computation constitutes a cornerstone of scientific computing, serving as a critical kernel in domains ranging from fluid dynamics to weather simulation. While stencil computations are conventionally regarded as memory-bound and thus unsuitable for compute-centric Tensor Cores, recent empirical studies have demonstrated significant speedups after applying Tensor Cores, forming an apparent contradiction. This paper resolves this contradiction by conducting a systematic performance analysis of stencil computations on Tensor Cores. We begin by revisiting the adaptation of stencils onto Tensor Cores, quantifying the computational redundancy introduced by the transformations required to satisfy hardware constraints. These metrics are subsequently integrated into an enhanced performance model that explicitly accounts for the arithmetic intensity shifts driven by temporal fusion.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Advanced Data Storage Technologies · Computer Graphics and Visualization Techniques
