Metraipolis › archive › dc_37755b164c4b
Accurate Models of AMD Matrix Cores — arXiv:2609.14845
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.14845
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T23:46:04.345Z
- SHA-256 of the archived text
ab1da2ebc7bd276152f0bfe38631a93ccddc06bf4bd1a36e9cf48e965f993ec8- Stable URL of this page
https://metraipolis.com/documento/dc_37755b164c4b
How to cite
Accurate Models of AMD Matrix Cores — arXiv:2609.14845 — arXiv (en), https://arxiv.org/abs/2609.14845 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_37755b164c4b (Metraipolis archive dc_37755b164c4b, sha256 ab1da2ebc7bd276152f0bfe38631a93ccddc06bf4bd1a36e9cf48e965f993ec8)
BibTeX
@misc{dc37755b164c4b,
title = {Accurate Models of AMD Matrix Cores — arXiv:2609.14845},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.14845},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_37755b164c4b; sha256 ab1da2ebc7bd276152f0bfe38631a93ccddc06bf4bd1a36e9cf48e965f993ec8},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.14845. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Matrix multipliers available on recent GPUs do not conform with the IEEE 754 floating point standard. Features of matrix multipliers differ across vendors and architectures of the same vendor, such as accumulator width, rounding behaviour, normalisation points, intermediate underflow and overflow logic, the handling of subnormals, and the treatment of special inputs. As a result, reproducibility of small matrix multiplier results across devices is not possible and cannot be achieved by software control. Implementation details of matrix multipliers are not documented, making it difficult to interpret discrepancies in the computed results. We characterise the numerical behaviour of matrix multipliers across three AMD GPU architectures: CDNA 1, CDNA 2, and CDNA 3, using the MI100, MI210/250, and MI300A/300X GPUs, respectively. We design test vectors to target numerical features for all supported input formats and provide the derivation and the reasoning for why each vector allows to determine a particular numerical feature based on the outputs of the devices. MATLAB-based software models of the matrix multipliers are then developed for each architecture and validated for bit-level reproducibility against hardware using a randomized test suite consisting of 10 million sets of random input vectors. To achieve this, we applied a previously developed technique to iteratively refine the accuracy of the models in a loop, by randomized testing followed by test-refinement until the model matches the hardware for every test case. Finally, as a proof of concept for what experimental research can be done with the models, we have utilised them in two demonstrative numerical applications, quantifying application-level accuracy differences between AMD matrix cores and the NVIDIA tensor cores. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-15 in cs.AR). Categorie arXiv: Hardware Architecture (cs.AR) ; Mathematical Software (cs.MS). Pagina del lavoro: https://arxiv.org/abs/2609.14845 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T23:13:34.585Z dalla pagina https://arxiv.org/catchup/cs.AR/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).