A new data conversion method for mixed precision Krylov solvers with FP16/BF16 Jacobi preconditioners
A new data conversion method for mixed precision Krylov solvers with FP16/BF16 Jacobi preconditioners
复制标题
具有 FP16/BF16 Jacobi 预处理器的混合精度 Krylov 求解器的新数据转换方法
DOI:
10.1145/3578178.3578222
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Onodera Naoyuki
中科院分区:
文献类型:
--
作者:
Ina Takuya;Idomura Yasuhiro;Imamura Toshiyuki;Onodera Naoyuki
Mixed precision Krylov solvers with the Jacobi preconditioner often show significant convergence degradation when the Jacobi preconditioner is computed in low precision such as FP16 and BF16. It is found that this convergence degradation is attributed to loss of diagonal dominance due to roundoff errors in data conversion. To resolve this issue, we propose a new data conversion method, which is designed to keep diagonal dominance of the original matrix data. The proposed method is tested by computing the Poisson equation using the conjugate gradient method, the general minimum residual method, and the biconjugate gradient stabilized method with the FP16/BF16 Jacobi preconditioner on NVIDIA V100 GPUs. Here, the new data conversion is implemented by switching the round-nearest, round-up, round-down, and round-towards-zero intrinsics in CUDA, and is called once before the main iteration. Therefore, the cost of the new data conversion is negligible. When the coefficients of matrix is continuously changed by scaling the linear system, the conventional data conversion based on the round-nearest intrinsic shows periodic changes of the convergence property depending on the difference of the roundoff errors between diagonal and off-diagonal coefficients. Here, the period and magnitude of the convergence degradation depend on the bit length of significand. On the other hand, the proposed data conversion method is shown to fully avoid the convergence degradation, and robust mixed precision computing is enabled for the Jacobi preconditioner without extra overheads.
登录
查看更多内容
DOI:
--
发表时间:
2020
期刊:
影响因子:
--
作者:
Y. Idomura;T. Ina;Y. Ali;T. Imamura
通讯作者:
T. Imamura
DOI:
10.1109/scala51936.2020
发表时间:
2020
期刊:
Concurrency and Computation: Practice and Experience
影响因子:
--
作者:
Md Irteja Islam;Verity L Chadwick;A. Martiniuk
通讯作者:
A. Martiniuk
DOI:
10.1137/1.9780898718003
发表时间:
2003-05
期刊:
--
影响因子:
--
作者:
Y. Saad
通讯作者:
Y. Saad
DOI:
10.1109/scala51936.2020.00014
发表时间:
2020
期刊:
2020 IEEE/ACM 11th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (ScalA)
影响因子:
--
作者:
Shuhei Kudo;Keigo Nitadori;Takuya Ina;Toshiyuki Imamura
通讯作者:
Toshiyuki Imamura