FTTN: Feature-Targeted Testing for Numerical Properties of NVIDIA & AMD Matrix Accelerators
Xinyi Li, Ang Li, Bo Fang, Katarzyna Swirydowicz, Ignacio Laguna,, Ganesh Gopalakrishnan

TL;DR
This paper introduces Feature Targeted Tests for Numerical Properties (FTTN) to identify numerical behaviors of NVIDIA and AMD matrix accelerators, aiding reliable code porting across diverse hardware.
Contribution
The paper develops a comprehensive suite of tests to reveal numerical behaviors of matrix accelerators, addressing a gap in publicly available documentation.
Findings
Different hardware produces varying matrix multiplication results.
FTTN tests reveal differences in rounding modes and precision handling.
Insights help improve code portability and reliability across platforms.
Abstract
NVIDIA Tensor Cores and AMD Matrix Cores (together called Matrix Accelerators) are of growing interest in high-performance computing and machine learning owing to their high performance. Unfortunately, their numerical behaviors are not publicly documented, including the number of extra precision bits maintained, the accumulation order of addition, and predictable subnormal number handling during computations. This makes it impossible to reliably port codes across these differing accelerators. This paper contributes a collection of {\em Feature Targeted Tests for Numerical Properties} that that help determine these features across five floating-point formats, four rounding modes and additional that highlight the rounding behaviors and preservation of extra precision bits. To show the practical relevance of FTTN, we design a simple matrix-multiplication test designed with insights…
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 · Tensor decomposition and applications · Advanced Data Storage Technologies
