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

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

计算机科学 > 数学软件

arXiv:2407.09621 (cs)
[提交于 2024年7月12日]

标题:Acceleration of Tensor-Product Operations with Tensor Cores

作者:Cu Cui
查看论文《Acceleration of Tensor-Product Operations with Tensor Cores》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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 computations, numerical experiments demonstrate a fourfold enhancement in solving the Poisson equation using the flexible GMRES (FGMRES) method, preconditioned by a multigrid method in 3D. This is achieved while maintaining the same discretization error as observed in double precision computations. These results highlight the considerable benefits of using Tensor Cores for finite element operators with tensor products, achieving an optimal balance between computational speed and precision.
主题: 数学软件 (cs.MS); 数值分析 (cs.NA); 性能 (cs.PF); 数值分析 (math.NA)
引用方式: arXiv:2407.09621 [cs.MS]
  (或者 arXiv:2407.09621v1 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.2407.09621

提交历史

来自:Cu Cui
[v1] 2024年7月12日 星期五 18:16:38 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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