GPU Optimization of ILU‐Preconditioned GCR for Solving 19‐Diagonal Linear Equations in GRAPES

ABSTRACT This article investigates the GPU optimization of solving 19‐diagonal asymmetric linear systems within the numerical weather prediction model GRAPES. Such systems are commonly encountered when solving partial differential equations on 3D structured grids using finite difference methods. The five‐diagonal patch‐ILU preconditioner, which retains the essential connection coefficient, is well‐suited for GPU platforms as it accelerates linear iterative convergence by approximately tenfold and offers a degree of parallelism. However, the forward‐backward substitution process, used to solve the upper and lower triangular equations generated by the five‐diagonal patch‐ILU preconditioner, remains a major performance bottleneck on the GPU due to serial data dependencies. We designed the Shuffle Thomas algorithm, leveraging the GPU's shuffle functionality for data reuse, achieving efficient memory coalescing and data reuse, significantly enhancing memory throughput. Further exploiting the diagonal direction's parallelism in the substitution process, we designed the Divided Shuffle Thomas algorithm, doubling the instruction‐level parallelism. This approach achieved a to speedup compared to cuSPARSE‐gpsv. Our GCR solver on the Hygon DCU platform demonstrated a 5.41 to 8.47 times performance improvement over the CPU implementation with the same number of computing nodes, achieving higher computational efficiency with fewer processes. This has the potential to significantly enhance the computational efficiency for high‐resolution numerical weather forecasting.

Authors

Institutions

Publication Details

Journal
Concurrency and Computation Practice and Experience
Published
2025-08-12
DOI
https://doi.org/10.1002/cpe.70217
Primary Topic
Matrix Theory and Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

GPU Optimization of ILU‐Preconditioned GCR for Solving 19‐Diagonal Linear Equations in GRAPES

Junlin Wei, Xiangjun Wu, Huadong Xiao, Sa Xiao et al.
Concurrency and Computation Practice and Experience
Matrix Theory and Algorithms
article

GPU Optimization of ILU‐Preconditioned GCR for Solving 19‐Diagonal Linear Equations in GRAPES

Junlin Wei, Xiangjun Wu, Huadong Xiao, Sa Xiao, Jinrong Jiang, Feng Zhang, Youyun Li, Lian Zhao, Xuebin Chi, Qingu Jiang
article en

Abstract

ABSTRACT This article investigates the GPU optimization of solving 19‐diagonal asymmetric linear systems within the numerical weather prediction model GRAPES. Such systems are commonly encountered when solving partial differential equations on 3D structured grids using finite difference methods. The five‐diagonal patch‐ILU preconditioner, which retains the essential connection coefficient, is well‐suited for GPU platforms as it accelerates linear iterative convergence by approximately tenfold and offers a degree of parallelism. However, the forward‐backward substitution process, used to solve the upper and lower triangular equations generated by the five‐diagonal patch‐ILU preconditioner, remains a major performance bottleneck on the GPU due to serial data dependencies. We designed the Shuffle Thomas algorithm, leveraging the GPU's shuffle functionality for data reuse, achieving efficient memory coalescing and data reuse, significantly enhancing memory throughput. Further exploiting the diagonal direction's parallelism in the substitution process, we designed the Divided Shuffle Thomas algorithm, doubling the instruction‐level parallelism. This approach achieved a to speedup compared to cuSPARSE‐gpsv. Our GCR solver on the Hygon DCU platform demonstrated a 5.41 to 8.47 times performance improvement over the CPU implementation with the same number of computing nodes, achieving higher computational efficiency with fewer processes. This has the potential to significantly enhance the computational efficiency for high‐resolution numerical weather forecasting.

Concurrency and Computation Practice and ExperienceVol. 37(21-22)
Chinese Academy of Sciences (CN), Computer Network Information Center (CN), University of Chinese Academy of Sciences (CN), Changsha University of Science and Technology (CN)
National Key Research and Development Program of China
Openalex Percentile: Top 78%
Matrix Theory and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.