Scheduling of QR Factorization Algorithms on SMP and Multi-Core Architectures
Authors:
- Gregorio Quintana-OrtiGQGregorio Quintana-Orti
- Enrique S. Quintana-OrtiEQEnrique S. Quintana-Orti
- Ernie ChanECErnie Chan
- Robert A. van de GeijnRGRobert A. van de Geijn
- Field G. Van ZeeFZField G. Van Zee
- 1 February 2008
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10666192,p. 301-310
Abstract
This paper examines the scalable parallel implementation of the QR factorization of a general matrix, targeting SMP and multi-core architectures. Two implementations of algorithms-by-blocks are presented. Each implementation views a block of a matrix as the fundamental unit of data, and likewise, operations over these blocks as the primary unit of computation. The first is a conventional blocked algorithm similar to those included in libFLAME and LAPACK but expressed in a way that allows operations in the so-called critical path of execution to be computed as soon as their dependencies are satisfied. The second algorithm captures a higher degree of parallelism with an approach based on Givens rotations while preserving the performance benefits of algorithms based on blocked Householder transformations. We show that the implementation effort is greatly simplified by expressing the algorithms in code with the FLAME/FLASH API, which allows matrices stored by blocks to be viewed and managed as matrices of matrix blocks. The SuperMatrix run-time system utilizes FLASH to assemble and represent matrices but also provides out-of-order scheduling of operations that is transparent to the programmer. Scalability of the solution is demonstrated on ccNUMA platform with 16 processors and an SMP architecture with 16 cores.Keywords
This publication has 15 references indexed in Scilit:
- Accumulating Householder transformations, revisitedACM Transactions on Mathematical Software, 2006
- The science of deriving dense linear algebra algorithmsACM Transactions on Mathematical Software, 2005
- Parallel out-of-core computation and updating of the QR factorizationACM Transactions on Mathematical Software, 2005
- Tiling, block data layout, and memory hierarchy performanceIEEE Transactions on Parallel and Distributed Systems, 2003
- Recursive array layouts and fast matrix multiplicationIEEE Transactions on Parallel and Distributed Systems, 2002
- Very Large Electronic Structure Calculations Using an Out-of-Core Filter-Diagonalization MethodJournal of Computational Physics, 2002
- A Storage-Efficient $WY$ Representation for Products of Householder TransformationsSIAM Journal on Scientific and Statistical Computing, 1989
- Implementation of the GMRES Method Using Householder TransformationsSIAM Journal on Scientific and Statistical Computing, 1988
- The WY Representation for Products of Householder MatricesSIAM Journal on Scientific and Statistical Computing, 1987
- A Rotation Method for Computing the QR-DecompositionSIAM Journal on Scientific and Statistical Computing, 1986