Communication Efficient Gaussian Elimination with Partial Pivoting using a Shape Morphing Data Layout

Abstract

High performance for numerical linear algebra often comes at the expense of stability. Computing the LU decomposition of a matrix via Gaussian Elimination can be organized so that the computation involves regular and efficient data access. However, maintaining numerical stability via partial pivoting involves row interchanges that lead to inefficient data access patterns. To optimize communication efficiency throughout the memory hierarchy we confront two seemingly contradictory requirements: partial pivoting is efficient with column-major layout, whereas a recursive layout is optimal for the rest of the computation. We resolve this by introducing a shape morphing procedure that dynamically matches the layout to the computation throughout the algorithm, and show that Gaussian Elimination with partial pivoting can be performed in a communication efficient and cache-oblivious way. Our technique extends to QR decomposition, where computing Householder vectors prefers a different data layout than the rest of the computation.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Feb 21, 2013
Accession Number
ADA580196

Entities

People

  • Benjamin Lipshitz
  • Grey Ballard
  • James Demmel
  • Oded Schwartz
  • Sivan Toledo

Organizations

  • University of California, Berkeley

Tags

Communities of Interest

  • Energy and Power Technologies

DTIC Thesaurus Topics

  • Algebra
  • Algorithms
  • Classification
  • Computations
  • Computer Science
  • Computers
  • Decomposition
  • Electrical Engineering
  • Elimination
  • Engineering
  • Hard Copy
  • Hierarchies
  • Linear Algebra
  • Procedures (Computers)
  • Quadrants
  • Splitting
  • Standards

Fields of Study

  • Computer science

Readers

  • Computational Fluid Dynamics (CFD)
  • Economics
  • Linear Algebra