QR Factorization on a Multicore Node Enhanced with Multiple GPU Accelerators - IEEE IPDPS 2011

QR Factorization on a Multicore Node Enhanced with Multiple GPU Accelerators - IEEE IPDPS 2011

Emmanuel Agullo∗, Cédric Augonnet∗, Jack Dongarra†, Mathieu Faverge†, Hatem Ltaief†, Samuel Thibault∗ and Stanimire Tomov†

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, StarPU, 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 perfor- mance 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: High Performance Computing; Dense Linear Al- gebra; QR Factorization; Hybrid Architecture; Multiple GPU Accelerators; Multicore; Tile Algorithm; Communication- Avoiding; Heterogeneous Scheduling; Runtime System.

Download

Bibtex

@InProceedings{AguAugDonFavLtaThiTom11IPDPS, HAL_ID = {inria-00547614}, author={Emmanuel Agullo and C{'{e}}dric Augonnet and Jack Dongarra and Mathieu Faverge and Hatem Ltaief and Samuel Thibault and Stanimire Tomov}, title = {{QR Factorization on a Multicore Node Enhanced with Multiple GPU Accelerators}}, booktitle = {{25th IEEE International Parallel & Distributed Processing Symposium (IEEE IPDPS 2011)}}, ADDRESS={Anchorage, Alaska, USA}, language = {{A}nglais}, audience = {internationale }, DAYS=16, MONTH=5, YEAR=2011, keywords = {StarPU}, doi = {10.1109/IPDPS.2011.90}, URL = {http://hal.inria.fr/inria-00547614} }