跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

数学 > 数值分析

arXiv:2410.09172 (math)
[提交于 2024年10月11日]

标题:Testing GPU Numerics: Finding Numerical Differences Between NVIDIA and AMD GPUs

作者:Anwar Hossain Zahid, Ignacio Laguna, Wei Le
查看论文《Testing GPU Numerics: Finding Numerical Differences Between NVIDIA and AMD GPUs》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:As scientific codes are ported between GPU platforms, continuous testing is required to ensure numerical robustness and identify numerical differences. Compiler-induced numerical differences occur when a program is compiled and run on different GPUs, and the numerical outcomes are different for the same input. We present a study of compiler-induced numerical differences between NVIDIA and AMD GPUs. Our approach uses Varity to generate thousands of short numerical tests in CUDA and HIP, and their inputs; then, we use differential testing to check if the program produced a numerical inconsistency when run on these GPUs. We also use the HIPIFY tool to convert CUDA tests into HIP and check if there are numerical inconsistencies induced by HIPIFY. We generated more than 600,000 tests and found subtle numerical differences that come from (1) math library calls, (2) differences in floating-point precision (FP64 versus FP32), and (3) converting code with HIPIFY.
主题: 数值分析 (math.NA); 数值分析 (cs.NA); 程序设计语言 (cs.PL)
引用方式: arXiv:2410.09172 [math.NA]
  (或者 arXiv:2410.09172v1 [math.NA] 对于此版本)
  https://doi.org/10.48550/arXiv.2410.09172

提交历史

来自:Ignacio Laguna
[v1] 2024年10月11日 星期五 18:18:50 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math.NA
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-10
切换浏览方式为:
math
cs.NA
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站