In this paper, we propose two mixed precision algorithms for Block-Jacobi preconditioner(BJAC): a fixed low precision strategy and an adaptive precision strategy. We evaluate the performance improvement of the proposed mixed precision BJAC preconditioners combined with the preconditioned conjugate gradient algorithm using problems including diffusion equations and radiation hydrodynamics equations. Numerical results show that, compared to the uniform high precision PCG algorithm, the mixed precision preconditioners can achieve speedups from 1.3 to 1.8 without sacrificing accuracy. Furthermore, we observe the phenomenon of convergence delay in some test cases for the mixed precision preconditioners, and further analyse the matrix features associate with the convergence delay behavior.
翻译:本文针对块雅可比预处理器提出了两种混合精度算法:固定低精度策略与自适应精度策略。通过结合预处理共轭梯度算法,在扩散方程与辐射流体力学方程等算例中评估了所提混合精度块雅可比预处理器的性能提升效果。数值实验表明,相较于统一高精度的预处理共轭梯度算法,混合精度预处理器可在不损失精度的前提下获得1.3至1.8倍的加速比。此外,我们在部分测试案例中观察到混合精度预处理器存在收敛延迟现象,并进一步分析了与收敛延迟行为相关的矩阵特征。