喵ID:94N6UH免责声明

FTTN: Feature-Targeted Testing for Numerical Properties of NVIDIA & AMD Matrix Accelerators

FTTN:针对 NVIDIA 数值特性的特征测试

基本信息

DOI:
10.48550/arxiv.2403.00232
发表时间:
2024
期刊:
ArXiv
影响因子:
--
通讯作者:
Ganesh Gopalakrishnan
中科院分区:
文献类型:
--
作者: Xinyi Li;Ang Li;Bo Fang;Katarzyna Swirydowicz;Ignacio Laguna;Ganesh Gopalakrishnan研究方向: -- MeSH主题词: --
关键词: --
来源链接:pubmed详情页地址

文献摘要

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 gathered from our feature-tests. We executed this very simple test on five platforms, producing different answers: V100, A100, and MI250X produced 0, MI100 produced 255.875, and Hopper H100 produced 191.875. Our matrix multiplication tests employ patterns found in iterative refinement-based algorithms, highlighting the need to check for significant result variability when porting code across GPUs.
NVIDIA张量核心和AMD矩阵核(称为矩阵加速器)在高性能计算和机器学习中越来越感兴趣,因为它们的高性能。不幸的是,他们的数值行为未公开记录,包括维护的额外精度数量,添加的累积顺序以及计算过程中可预测的亚正态数量处理。这使得无法在这些不同的加速器上可靠地端口代码。本文贡献了{\ em特征的数值属性靶向测试的集合},该测试有助于确定五种浮点格式,四种圆形模式以及其他突出圆形行为和保留额外精确度的范围的这些功能。为了显示FTTN的实际相关性,我们设计了一个简单的矩阵 - 培养基测试,设计了从我们的功能测试中收集的见解。我们在五个平台上执行了非常简单的测试,产生了不同的答案:V100,A100和MI250X生产0,MI100生产255.875,而Hopper H100产生了191.875。我们的矩阵乘法测试采用基于迭代改进的算法中发现的模式,突显了在跨GPU移植代码时检查有显着结果可变性的需求。
参考文献(1)
被引文献(0)

数据更新时间:{{ references.updateTime }}

Ganesh Gopalakrishnan
通讯地址:
--
所属机构:
--
电子邮件地址:
--
免责声明免责声明
1、猫眼课题宝专注于为科研工作者提供省时、高效的文献资源检索和预览服务;
2、网站中的文献信息均来自公开、合规、透明的互联网文献查询网站,可以通过页面中的“来源链接”跳转数据网站。
3、在猫眼课题宝点击“求助全文”按钮,发布文献应助需求时求助者需要支付50喵币作为应助成功后的答谢给应助者,发送到用助者账户中。若文献求助失败支付的50喵币将退还至求助者账户中。所支付的喵币仅作为答谢,而不是作为文献的“购买”费用,平台也不从中收取任何费用,
4、特别提醒用户通过求助获得的文献原文仅用户个人学习使用,不得用于商业用途,否则一切风险由用户本人承担;
5、本平台尊重知识产权,如果权利所有者认为平台内容侵犯了其合法权益,可以通过本平台提供的版权投诉渠道提出投诉。一经核实,我们将立即采取措施删除/下架/断链等措施。
我已知晓