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

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

计算机科学 > 性能

arXiv:2107.01143 (cs)
[提交于 2024年8月8日]

标题:Opening the Black Box: Performance Estimation during Code Generation for GPUs

作者:Dominik Ernst, Georg Hager, Markus Holzer, Matthias Knorr, Gerhard Wellein
查看论文《Opening the Black Box: Performance Estimation during Code Generation for GPUs》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Automatic code generation is frequently used to create implementations of algorithms specifically tuned to particular hardware and application parameters. The code generation process involves the selection of adequate code transformations, tuning parameters, and parallelization strategies. To cover the huge search space, code generation frameworks may apply time-intensive autotuning, exploit scenario-specific performance models, or treat performance as an intangible black box that must be described via machine learning. This paper addresses the selection problem by identifying the relevant performance-defining mechanisms through a performance model coupled with an analytic hardware metric estimator. This enables a quick exploration of large configuration spaces to identify highly efficient candidates with high accuracy. Our current approach targets memory-intensive GPGPU applications and focuses on the correct modeling of data transfer volumes to all levels of the memory hierarchy. We show how our method can be coupled to the pystencils stencil code generator, which is used to generate kernels for a range four 3D25pt stencil and a complex two phase fluid solver based on the Lattice Boltzmann Method. For both, it delivers a ranking that can be used to select the best performing candidate. The method is not limited to stencil kernels, but can be integrated into any code generator that can generate the required address expressions.
主题: 性能 (cs.PF)
引用方式: arXiv:2107.01143 [cs.PF]
  (或者 arXiv:2107.01143v1 [cs.PF] 对于此版本)
  https://doi.org/10.48550/arXiv.2107.01143
相关 DOI: https://doi.org/10.1109/SBAC-PAD53543.2021.00014

提交历史

来自:Dominik Ernst
[v1] 2024年8月8日 星期四 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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