1. Cascaded Prediction and Asynchronous Execution of Iterative Algorithms on Heterogeneous Platforms
- Author
-
Gao, Jianhua, Liu, Bingjie, Wang, Yizhuo, Ji, Weixing, and Huang, Hua
- Subjects
Computer Science - Distributed, Parallel, and Cluster Computing ,Computer Science - Mathematical Software ,68-02, 68W10, 65F50 ,A.1 ,D.1.3 ,G.1.3 - Abstract
Owing to the diverse scales and varying distributions of sparse matrices arising from practical problems, a multitude of choices are present in the design and implementation of sparse matrix-vector multiplication (SpMV). Researchers have proposed many machine learning-based optimization methods for SpMV. However, these efforts only support one area of sparse matrix format selection, SpMV algorithm selection, or parameter configuration, and rarely consider a large amount of time overhead associated with feature extraction, model inference, and compression format conversion. This paper introduces a machine learning-based cascaded prediction method for SpMV computations that spans various computing stages and hierarchies. Besides, an asynchronous and concurrent computing model has been designed and implemented for runtime model prediction and iterative algorithm solving on heterogeneous computing platforms. It not only offers comprehensive support for the iterative algorithm-solving process leveraging machine learning technology, but also effectively mitigates the preprocessing overheads. Experimental results demonstrate that the cascaded prediction introduced in this paper accelerates SpMV by 1.33x on average, and the iterative algorithm, enhanced by cascaded prediction and asynchronous execution, optimizes by 2.55x on average., Comment: 12 pages, 9 figures, 7 tables
- Published
- 2024