混合精度求解器在A64FX处理器上用于格点量子色动力学的半精度浮点数
Mixed precision solvers with half-precision floating point numbers for Lattice QCD on A64FX processor
AI总结:
本文提出在A64FX处理器上使用半精度浮点数的混合精度求解器,通过重标定步骤提高稳定性,实验表明其在格点量子色动力学模拟中具有可行性。
摘要:
我们研究了在格点量子色动力学模拟中使用半精度浮点数(FP16)的混合精度线性求解器。由于GPU的出现,混合精度算法将单精度(FP32)与双精度(FP64)运算结合在一起,已成为该领域和其他领域的广泛应用。虽然基于FP32的方法现在已经很成熟,但我们考察了使用FP16的实用性。在本研究中,我们在外迭代修正步骤和内BiCGStab求解器中引入了重标定步骤,以避免数值不稳定性。在使用简单Wilson核的实验中,求解器显示出改进的稳定性,与FP64版本相比,额外的迭代次数仍控制在20%以内,表明FP16版本在实际应用中是可行的。我们相信所提出的重标定方法也可以为其他混合精度预处理程序提供帮助,以避免下溢。
英文摘要:
We investigate the use of half-precision floating-point numbers (FP16) in mixed-precision linear solvers for lattice QCD simulations. Since the emergence of GPUs for general-purpose, mixed-precision algorithms that combine single-precision (FP32) with double-precision (FP64) arithmetics have become widely used in this field and others. While FP32-based methods are now well established, we examine the practicality of using FP16. In this work, we introduce rescaling steps in both the outer iterative refinement step and the inner BiCGStab solver to avoid numerical instability. In our experiments with a simple Wilson kernel, the solver shows improved stability, and the additional iteration count compared to the FP64 version remains within 20\%, indicating that the FP16 version is practical for use. We believe that the proposed rescaling methods can also benefit other mixed precision preconditioners in avoiding underflows.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。