Acceleration of Tensor-Product Operations with Tensor Cores
Cu Cui

TL;DR
This paper demonstrates how leveraging NVIDIA A100 GPU Tensor Cores significantly accelerates tensor product operations in finite element methods, achieving over twofold speedups and maintaining accuracy.
Contribution
It introduces a novel implementation strategy using inline PTX instructions and shared memory, resulting in substantial performance improvements over traditional CUDA Cores.
Findings
2.3-fold increase in double precision performance
Fourfold speedup in half-precision Poisson solver
Maintains discretization accuracy comparable to double precision
Abstract
In this paper, we explore the acceleration of tensor product operations in finite element methods, leveraging the computational power of the NVIDIA A100 GPU Tensor Cores. We provide an accessible overview of the necessary mathematical background and discuss our implementation strategies. Our study focuses on two common programming approaches for NVIDIA Tensor Cores: the C++ Warp Matrix Functions in nvcuda::wmma and the inline Parallel Thread Execution (PTX) instructions mma.sync.aligned. A significant focus is placed on the adoption of the versatile inline PTX instructions combined with a conflict-free shared memory access pattern, a key to unlocking superior performance. When benchmarked against traditional CUDA Cores, our approach yields a remarkable 2.3-fold increase in double precision performance, achieving 8 TFLOPS/s-45% of the theoretical maximum. Furthermore, in half-precision…
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
TopicsEmbedded Systems Design Techniques
