A Hybrid Approach on Matrix Multiplication

  • Tolentino Maribel (Department of Computer Engineering, Hankuk Aviation University) ;
  • Kim Myung-Kyu (Department of Computer Engineering, Hankuk Aviation University) ;
  • Chae Soo-Hoan (Department of Computer Engineering, Hankuk Aviation University)
  • Published : 2006.06.01

Abstract

Matrix multiplication is an important problem in linear algebra. its main significance for combinatorial algorithms is its equivalence to a variety of other problems, such as transitive closure and reduction, solving linear systems, and matrix inversion. Thus the development of high-performance matrix multiplication implies faster algorithms for all of these problems. In this paper. we present a quantitative comparison of the theoretical and empirical performance of key matrix multiplication algorithms and use our analysis to develop a faster algorithm. We propose a Hybrid approach on Winograd's and Strassen's algorithms that improves the performance and discuss the performance of the hybrid Winograd-Strassen algorithm. Since Strassen's algorithm is based on a $2{\times}2$ matrix multiplication it makes the implementation very slow for larger matrix because of its recursive nature. Though we cannot get the theoretical threshold value of Strassen's algorithm, so we determine the threshold to optimize the use of Strassen's algorithm in nodes through various experiments and provided a summary shown in a table and graphs.

Keywords