Research on Tridiagonal Matrix Solver Design Based on a Combination of Processors.
Jingmei Li,Zhigao Zheng,Qiao Tian,Guoyin Zhang,Fangyuan Zheng,Yuanyuan Pan
DOI: https://doi.org/10.1016/j.compeleceng.2017.07.014
IF: 4.152
2017-01-01
Computers & Electrical Engineering
Abstract:Large-scale tridiagonal matrix solvers based on heterogeneous systems currently cannot balance computational efficiency and numerical stability when solving a non-diagonally dominant matrix. A tridiagonal solver combined central processing unit with graphics processing unit is proposed, based on SPIKE2 as a solver framework, a simplified SPIKE algorithm as a central processing unit component, and a diagonal pivot algorithm as a graphics processing unit component. The solver performance is further improved by using a data-layout-transformation mechanism to obtain continuous addresses, reducing memory communication using constant memory to store unchanged data in the calculation process, and employing a kernel-fusion mechanism to reduce power consumption of graphics processing unit. For a diagonally dominant matrix, extended Thomas algorithms and cycle reduction to replace the graphics processing unit component are proposed in the solver. Experimental results show that the tridiagonal matrix solver in this paper can effectively consider both numerical stability and computational efficiency, and reduce total power consumption while improving memory efficiency.