借助工具实现混合精度:Nekbone案例研究
Enabling mixed-precision with the help of tools: A Nekbone case study
AI总结:
针对混合精度在程序中落地难的问题,以Nekbone为案例,提出借助计算机算术工具与roofline模型实现混合精度的方法,经多维度评估,在128个MPI进程上可显著降低求解时间与能耗。
摘要:
混合精度计算有望显著降低百亿亿次计算的成本,但确定何时以及如何在程序中实现混合精度颇具挑战。本文以CFD求解器Nek5000的迷你应用Nekbone为案例,提出一种借助计算机算术工具与roofline模型实现混合精度的方法。我们从精度、求解时间、求解能耗三个维度的指标结合评估了得到的混合精度程序。值得注意的是,在Nekbone中引入混合精度后,在128个MPI进程上求解时间降低了40.7%,求解能耗降低了47%。
英文摘要:
Mixed-precision computing has the potential to significantly reduce the cost of exascale computations, but determining when and how to implement it in programs can be challenging. In this article, we consider Nekbone, a mini-application for the CFD solver Nek5000, as a case study, and propose a methodology for enabling mixed-precision with the help of computer arithmetic tools and roofline model. We evaluate the derived mixed-precision program by combining metrics in three dimensions: accuracy, time-to-solution, and energy-to-solution. Notably, the introduction of mixed-precision in Nekbone, reducing time-to-solution by 40.7% and energy-to-solution by 47% on 128 MPI ranks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。