Automatic Selection of Sparse Triangular Linear System Solvers on GPUs through Machine Learning Techniques

被引:4
|
作者
Dufrechou, Ernesto [1 ]
Ezzatti, Pablo [1 ]
Quintana-Orti, Enrique S. [2 ]
机构
[1] Univ Republica, Inst Comp, Montevideo, Uruguay
[2] Univ Politecn Valencia, Dept Sistemas Informat Sistemas & Comp, Valencia, Spain
关键词
graphics processors; sparse triangular linear systems; high performance; machine learning;
D O I
10.1109/SBAC-PAD.2019.00020
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The solution of sparse triangular linear systems is often the most time-consuming stage of preconditioned iterative methods to solve general sparse linear systems, where it has to be applied several times for the same sparse matrix. For this reason, its computational performance has a strong impact on a wide range of scientific and engineering applications, which has motivated the study of its efficient execution on massively parallel platforms. In this sense, several methods have been proposed to tackle this operation on graphics processing units (GPUs), which can be classified under either the level-set or the self-scheduling paradigms. The results obtained from the experimental evaluation of the different methods suggest that both paradigms perform well for certain problems but poorly for others. Additionally, the relation between the properties of the linear systems and the performance of the different solvers is not evident a-priori. In this context, techniques that allow to predict inexpensively which is be the best solver for a particular linear system can lead to important runtime reductions. Our approach leverages machine learning techniques to select the best sparse triangular solver for a given linear system, with focus on the case where a small number of triangular systems has to be solved for the same matrix. We study the performance of several methods using different features derived from the sparse matrices, obtaining models with more than 80% of accuracy and acceptable prediction speed. These results are an important advance towards the automatic selection of the best GPU solver for a given sparse triangular linear system, and the characterization of the performance of these kernels.
引用
收藏
页码:41 / 47
页数:7
相关论文
共 50 条
  • [1] Machine learning for optimal selection of sparse triangular system solvers on GPUs
    Dufrechou, Ernesto
    Ezzatti, Pablo
    Freire, Manuel
    Quintana-Orti, Enrique S.
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2021, 158 : 47 - 55
  • [2] Assessing sparse triangular linear system solvers on GPUs
    Erguiz, Daniel
    Dufrechou, Ernesto
    Ezzatti, Pablo
    2017 INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING WORKSHOPS (SBAC-PADW), 2017, : 37 - 42
  • [3] Optimizing Sparse Linear Algebra Through Automatic Format Selection and Machine Learning
    Stylianou, Christodoulos
    Weiland, Michele
    2023 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, IPDPSW, 2023, : 734 - 743
  • [4] Automatic Selection of Sparse Matrix Representation on GPUs
    Sedaghati, Naser
    Mu, Te
    Pouchet, Louis-Noel
    Parthasarathy, Srinivasan
    Sadayappan, P.
    PROCEEDINGS OF THE 29TH ACM INTERNATIONAL CONFERENCE ON SUPERCOMPUTING (ICS'15), 2015, : 99 - 108
  • [5] Probabilistic Linear Solvers for Machine Learning
    Wenger, Jonathan
    Hennig, Philipp
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [6] AG-SpTRSV: An Automatic Framework to Optimize Sparse Triangular Solve on GPUs
    Hu, Zhengding
    Sun, Jingwei
    Li, Zhongyang
    Sun, Guangzhong
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2024, 21 (04)
  • [7] A Sparse Matrix Library with Automatic Selection of Iterative Solvers and Preconditioners
    Sakurai, Takao
    Katagiri, Takahiro
    Kuroda, Hisayasu
    Naono, Ken
    Igai, Mitsuyoshi
    Ohshima, Satoshi
    2013 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, 2013, 18 : 1332 - 1341
  • [8] Development of Krylov and AMG Linear Solvers for Large-Scale Sparse Matrices on GPUs
    Yang, Bo
    Liu, Hui
    Chen, Zhangxin
    HIGH PERFORMANCE COMPUTING AND APPLICATIONS, HPCA 2015, 2016, 9576 : 55 - 72
  • [9] Solvers for systems of large sparse linear and nonlinear equations based on multi-GPUs
    Liu, Sha
    Zhong, Chengwen
    Chen, Xiaopeng
    Transactions of Nanjing University of Aeronautics and Astronautics, 2011, 28 (03) : 300 - 308
  • [10] Solving sparse triangular linear systems in modern GPUs: a Synchronization-Free algorithm
    Dufrechou, Ernesto
    Ezzatti, Pablo
    2018 26TH EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING (PDP 2018), 2018, : 196 - 203