• Home
  • Search
  • Tuning Strassen's Matrix Multiplication for Memory Efficiency
  • Cite Icon59
  • https://doi.org/10.1109/sc.1998.10045Copy DOI Icon

Tuning Strassen's Matrix Multiplication for Memory Efficiency

  • Jan 1, 1998
  • M Thottethodi +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Strassen's algorithm for matrix multiplication gains its lower arithmetic complexity at the expense of reduced locality of reference, which makes it challenging to implement the algorithm efficiently on a modern machine with a hierarchical memory system. We report on an implementation of this algorithm that uses several unconventional techniques to make the algorithm memory-friendly. First, the algorithm internally uses a non- standard array layout known as Morton order that is based on a quad-tree decomposition of the matrix. Second, we dynamically select the recursion truncation point to minimize padding without affecting the performance of the algorithm, which we can do by virtue of the cache behavior of the Morton ordering. Each technique is critical for performance, and their combination as done in our code multiplies their effectiveness. Performance comparisons of our implementation with that of competing implementations show that our implementation often outperforms the alternative techniques (up to 25%). However, we also observe wide variability across platforms and across matrix sizes, indicating that at this time, no single implementation is a clear choice for all platforms or matrix sizes. We also note that the time required to convert matrices to/from Morton order is a noticeable amount of execution time (5% to 15%). Eliminating this overhead further reduces our execution time.

Similar Papers
  • Conference Article
  • Citations7

Multi-Stage Memory Efficient Strassen's Matrix Multiplication on GPU

  • Dec 01, 2021
  • Arjun Gopala Krishnan +1
  • Conference Article
  • Citations138

Communication-optimal parallel algorithm for strassen's matrix multiplication

  • Jun 25, 2012
  • Grey Ballard +4
  • Conference Article
  • Citations33

Parallel implementation of Strassen's matrix multiplication algorithm for heterogeneous clusters

  • Apr 26, 2004
  • Y Ohtaki +3
  • Research Article
  • Citations31

Multilinear algebra and parallel programming

  • Oct 01, 1991
  • The Journal of Supercomputing
  • R W Johnson +2
  • Conference Article
  • Citations4

Strassen's matrix multiplication for customisable processors

  • Jan 01, 2002
  • H.M.D Ip +6
  • Research Article
  • Citations3

Comparisons of Gaussian elimination algorithms on a cray Y-MP

  • Jul 01, 1992
  • Linear Algebra and its Applications
  • Marcin Paprzycki
  • Research Article

A High Security Approach for Image Steganography by HIOP Algorithm and Strassen's Matrix Multiplication and Rapid Information Retrieval

  • Jan 01, 2011
  • International Journal of Advanced Research in Computer Science
  • Khosravi Sara +1
  • Research Article
  • Citations42

Improving the Numerical Stability of Fast Matrix Multiplication

  • Jan 01, 2016
  • SIAM Journal on Matrix Analysis and Applications
  • Grey Ballard +4
  • Conference Article
  • Citations47

Communication-avoiding parallel strassen: implementation and performance

  • Nov 10, 2012
  • Benjamin Lipshitz +3
  • Conference Article
  • Citations8

A hierarchical memory system environment

  • Jan 01, 1998
  • J Djordjevic +2
  • Research Article
  • Citations16

Parallelizing Strassen's method for matrix multiplication on distributed-memory MIMD architectures

  • Jul 01, 1995
  • Computers & Mathematics with Applications
  • C.-C Chou +3
  • Research Article
  • Citations93

Fast and processor efficient parallel matrix multiplication algorithms on a linear array with a reconfigurable pipelined bus system

  • Jan 01, 1998
  • IEEE Transactions on Parallel and Distributed Systems
  • Keqin Li +2
  • Conference Article
  • Citations42

Graph expansion and communication costs of fast matrix multiplication

  • Jun 04, 2011
  • Grey Ballard +3
  • PDF
  • Research Article
  • Citations439

Discovering faster matrix multiplication algorithms with reinforcement learning

  • Oct 05, 2022
  • Nature
  • Alhussein Fawzi +12
  • Conference Article
  • Citations1

A MAI cancellation algorithm with near ML performance

  • Jun 01, 2015
  • Yachuan Bao +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.