Skip to main navigation Skip to search Skip to main content

CPU versus GPU: which can perform matrix computation faster—performance comparison for basic linear algebra subprograms

  • Feng Li*
  • , Yunming Ye
  • , Zhaoyang Tian
  • , Xiaofeng Zhang*
  • *Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

Matrix computing is the core component of machine learning and artificial intelligence. Fast matrix computations can facilitate many large-scale computational projects greatly. Basic linear algebra subprograms (BLAS) are proposed, which classify different matrices and provide a standardized interface. Currently, the most commonly used heterogeneous computing platforms are central processing unit (CPU) and graphics processing unit (GPU).At present, BLAS has been implemented on both CPU and GPU. However, due to the different characteristics of algorithms and hardware, a particular matrix method should be designed for a particular processor. It is important to choose the right processor for a particular matrix computation. This paper first briefly reviews the BLAS, and then introduces architecture and optimization methods of CPU and GPU. The effect of different subroutines in BLAS is studied through experiments. Finally, we discuss the reasons and the processor selection scheme of matrix computations.
Original languageEnglish
Pages (from-to)4353–4365
JournalNeural Computing and Applications
Volume31
Issue number8
Online published25 Jan 2018
DOIs
Publication statusPublished - Aug 2019

Research Keywords

  • Basic linear algebra subprograms
  • CPU
  • GPU
  • Matrix computation

Fingerprint

Dive into the research topics of 'CPU versus GPU: which can perform matrix computation faster—performance comparison for basic linear algebra subprograms'. Together they form a unique fingerprint.

Cite this