Parallelizing dense and banded linear algebra libraries using SMPSs
Tipus de documentArticle
Condicions d'accésAccés restringit per política de l'editorial
The promise of future many-core processors, with hundreds of threads running concurrently, has led the developers of linear algebra libraries to rethink their design in order to extract more parallelism, further exploit data locality, attain better load balance, and pay careful attention to the critical path of computation. In this paper we describe how existing serial libraries such as (C)LAPACK and FLAME can be easily parallelized using the SMPSs tools, consisting of a few OpenMP-like pragmas and a runtime system. In the LAPACK case, this usually requires the development of blocked algorithms for simple BLAS-level operations, which expose concurrency at a finer grain. For better performance, our experimental results indicate that column-major order, as employed by this library, needs to be abandoned in benefit of a block data layout. This will require a deeper rewrite of LAPACK or, alternatively, a dynamic conversion of the storage pattern at run-time. The parallelization of FLAME routines using SMPSs is simpler as this library includes blocked algorithms (or algorithms-by-blocks in the FLAME argot) for most operations and storage-by-blocks (or block data layout) is already in place.
CitacióBadia, R. [et al.]. Parallelizing dense and banded linear algebra libraries using SMPSs. "Concurrency and Computation: Practice and Experience", 25 Desembre 2009, vol. 21, núm. 18, p. 2438-2456.
Versió de l'editorhttp://www3.interscience.wiley.com/journal/122519419/abstract