QR Factorization on a Multicore Node Enhanced with Multiple GPU Accelerators
Authors:
- Emmanuel AgulloEAEmmanuel Agullo
- Cedric AugonnetCACedric Augonnet
- Jack DongarraJDJack Dongarra
- Mathieu FavergeMFMathieu Faverge
- Hatem LtaiefHLHatem Ltaief
- Samuel ThibaultSTSamuel Thibault
- Stanimire TomovSTStanimire Tomov
- 1 May 2011
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15302075,p. 932-943
Abstract
One of the major trends in the design of exascale architectures is the use of multicore nodes enhanced with GPU accelerators. Exploiting all resources of a hybrid accelerators-based node at their maximum potential is thus a fundamental step towards exascale computing. In this article, we present the design of a highly efficient QR factorization for such a node. Our method is in three steps. The first step consists of expressing the QR factorization as a sequence of tasks of well chosen granularity that will aim at being executed on a CPU core or a GPU. We show that we can efficiently adapt high-level algorithms from the literature that were initially designed for homogeneous multicore architectures. The second step consists of designing the kernels that implement each individual task. We use CPU kernels from previous work and present new kernels for GPUs that complement kernels already available in the MAGMA library. We show the impact on performance of these GPU kernels. In particular, we present the benefits of new hybrid CPU/GPU kernels. The last step consists of scheduling these tasks on the computational units. We present two alternative approaches, respectively based on static and dynamic scheduling. In the case of static scheduling, we exploit the a priori knowledge of the schedule to perform successive optimizations leading to very high performance. We, however, highlight the lack of portability of this approach and its limitations to relatively simple algorithms on relatively homogeneous nodes. Alternatively, by relying on an efficient runtime system, Star PU, in charge of ensuring data availability and coherency, we can schedule more complex algorithms on complex heterogeneous nodes with much higher productivity. In this latter case, we show that we can achieve high performance in a portable way thanks to a fine interaction between the application and the runtime system. We demonstrate that the obtained performance is very close to the theoretical upper bounds that we obtained using Linear Programming.Keywords
This publication has 20 references indexed in Scilit:
- Communication-optimal Parallel and Sequential QR and LU FactorizationsSIAM Journal on Scientific Computing, 2012
- Accelerating the reduction to upper Hessenberg, tridiagonal, and bidiagonal forms through hybrid GPU-based computingParallel Computing, 2010
- Scaling Hierarchical N-body Simulations on GPU Clusters2010
- Dense linear algebra solvers for multicore with GPU accelerators2010
- Scheduling dense linear algebra operations on multicore processorsConcurrency and Computation: Practice and Experience, 2009
- Harmony2008
- Scheduling of QR Factorization Algorithms on SMP and Multi-Core Architectures2008
- Sequoia: Programming the Memory Hierarchy2006
- OSKI: A library of automatically tuned sparse matrix kernelsJournal of Physics: Conference Series, 2005
- Automated empirical optimizations of software and the ATLAS projectParallel Computing, 2001