DTSpMV: An Adaptive SpMV Framework for Graph Analysis on GPUs
Authors:
- 1 December 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 32, 35-42
Abstract
Sparse Matrix and Vector multiplication (SpMV) is one of the core algorithms in various large-scale scientific computing and real-world applications. With the rapid development of AI and big data, the input vector in SpMV becomes more and more sparse in many application fields. Especially in some graph analysis calculations, the sparsity of the input vector will change with the running of the program. At this time, the optimal SpMV kernel may be different, and a single SpMV kernel can no longer meet the acceleration requirements. In this paper, we propose a decision tree-based adaptive SpMV framework, named DTSpMV, that can automatically select appropriate SpMV kernels based on different input data in iterations of graph computation. Based on the analysis of computational patterns and serial and parallel algorithms, we encapsulate six SpMV cores within the proposed framework. We explore machine learning-based kernel selectors in terms of both accuracy and runtime overhead. Experimental results on NVIDIA Tesla P100 GPU show that our adaptive framework achieves the arithmetic average performance improvement of 60% compared to the state-of-the-art SpMV kernel benchmark, and the average ratio of the runtime prediction overhead of the framework to the total computing overhead is 1.9%.Keywords
This publication has 18 references indexed in Scilit:
- Enabling Runtime SpMV Format Selection through an Overhead Conscious MethodIEEE Transactions on Parallel and Distributed Systems, 2019
- CASpMV: A Customized and Accelerative SpMV Framework for the Sunway TaihuLightIEEE Transactions on Parallel and Distributed Systems, 2019
- A Tensor-Based Big-Data-Driven Routing Recommendation Approach for Heterogeneous NetworksIEEE Network, 2019
- A parallel computing method using blocked format with optimal partitioning for SpMV on GPUJournal of Computer and System Sciences, 2018
- A Work-Efficient Parallel Sparse Matrix-Sparse Vector Multiplication Algorithm2017
- GraphPad: Optimized Graph Primitives for Parallel and Distributed Platforms2016
- Distributed-Memory Algorithms for Maximum Cardinality Matching in Bipartite Graphs2016
- Performance Optimization Using Partitioned SpMV on GPUs and Multicore CPUsIEEE Transactions on Computers, 2014
- The university of Florida sparse matrix collectionACM Transactions on Mathematical Software, 2011
- Iterative Methods for Sparse Linear Systems2003