Sparse Matrix Format Selection with Multiclass SVM for SpMV on GPU

Akrem Benatia, Weixing Ji, Yizhuo Wang, Feng Shi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

62 Citations (Scopus)

Abstract

Sparse Matrix-Vector Multiplication (SpMV) kernel dominates the computing cost in numerous scientific applications. Many implementations based on different sparse formats were proposed recently for this kernel on the GPU side. Since the performance of these sparse formats varies significantly according to the sparsity characteristics of the input matrix and the hardware specifications, no one of them can be considered as the best one to use for every sparse matrix. In this paper, we address the problem of selecting the best representation for a given sparse matrix on GPU by using a machine learning approach. First, we present some interesting and easy to compute features for characterizing the sparse matrices on GPU. Second, we use a multiclass Support Vector Machine (SVM) classifier to select the best format for each input matrix. We consider in this paper four popular formats (COO, CSR, ELL, and HYB), but our work can be extended to support more sparse representations. Experimental results on two different GPUs (Fermi GTX 580 and Maxwell GTX 980 Ti) show that we achieved more than 98% of the performance possible with a perfect selection.

Original languageEnglish
Title of host publicationProceedings - 45th International Conference on Parallel Processing, ICPP 2016
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages496-505
Number of pages10
ISBN (Electronic)9781509028238
DOIs
Publication statusPublished - 21 Sept 2016
Event45th International Conference on Parallel Processing, ICPP 2016 - Philadelphia, United States
Duration: 16 Aug 201619 Aug 2016

Publication series

NameProceedings of the International Conference on Parallel Processing
Volume2016-September
ISSN (Print)0190-3918

Conference

Conference45th International Conference on Parallel Processing, ICPP 2016
Country/TerritoryUnited States
CityPhiladelphia
Period16/08/1619/08/16

Keywords

  • GPU computing
  • Performance modeling
  • Sparse Matrix-Vector Multiplication (SpMV)
  • Support Vector Machine (SVM)

Fingerprint

Dive into the research topics of 'Sparse Matrix Format Selection with Multiclass SVM for SpMV on GPU'. Together they form a unique fingerprint.

Cite this