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

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

天体物理学 > 天体物理仪器与方法

arXiv:1902.03252 (astro-ph)
[提交于 2019年2月12日]

标题:High Performance Computing for gravitational lens modeling: single vs double precision on GPUs and CPUs

作者:Markus Rexroth, Christoph Schäfer, Gilles Fourestey, Jean-Paul Kneib
查看论文《High Performance Computing for gravitational lens modeling: single vs double precision on GPUs and CPUs》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Strong gravitational lensing is a powerful probe of cosmology and the dark matter distribution. Efficient lensing software is already a necessity to fully use its potential and the performance demands will only increase with the upcoming generation of telescopes. In this paper, we study the possible impact of High Performance Computing techniques on a performance-critical part of the widely used lens modeling software LENSTOOL. We implement the algorithm once as a highly optimized CPU version and once with graphics card acceleration for a simple parametric lens model. In addition, we study the impact of finite machine precision on the lensing algorithm. While double precision is the default choice for scientific applications, we find that single precision can be sufficiently accurate for our purposes and lead to a big speedup. Therefore we develop and present a mixed precision algorithm which only uses double precision when necessary. We measure the performance of the different implementations and find that the use of High Performance Computing Techniques dramatically improves the code performance both on CPUs and GPUs. Compared to the current LENSTOOL implementation on 12 CPU cores, we obtain speedup factors of up to 170. We achieve this optimal performance by using our mixed precision algorithm on a high-end GPU which is common in modern supercomputers. We also show that these techniques reduce the energy consumption by up to 98%. Furthermore, we demonstrate that a highly competitive speedup can be reached with consumer GPUs. While they are an order of magnitude cheaper than the high-end graphics cards, they are rarely used for scientific computations due to their low double precision performance. Our mixed precision algorithm unlocks their full potential. The consumer GPU delivers a speedup which is only a factor of four lower than the best speedup achieved by a high-end GPU.
评论: 28 pages, submitted to Astronomy & Computing
主题: 天体物理仪器与方法 (astro-ph.IM); 宇宙学与河外天体物理学 (astro-ph.CO)
引用方式: arXiv:1902.03252 [astro-ph.IM]
  (或者 arXiv:1902.03252v1 [astro-ph.IM] 对于此版本)
  https://doi.org/10.48550/arXiv.1902.03252

提交历史

来自:Markus Rexroth
[v1] 2019年2月12日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

astro-ph.IM
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-02
切换浏览方式为:
astro-ph
astro-ph.CO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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