Logo image
Tuning block size for QR factorization on CPU-GPU hybrid systems
Conference paper

Tuning block size for QR factorization on CPU-GPU hybrid systems

Yaohung M. Tsai, Weichung Wang and Ray-Bing Chen
Proceedings - IEEE 6th International Symposium on Embedded Multicore SoCs, MCSoC 2012, pp.205-211
2012

Abstract

Hardware and Architecture Electrical and Electronic Engineering
In CPU-GPU hybrid systems, the QR factorization in MAGMA results in CPU idle due to the fixed block size. To improve the computational efficiency of MAGMA QR factorization, we propose a variable block size auto-tuning scheme on CPU-GPU hybrid systems. First, we fit the CPU and GPU costs in MAGMA QR factorization via two independent regression models as CPU and GPU performance models. Next, we propose a block size optimization scheme to tune the block size adaptively and therefore to minimize a cost objective function. The cost objective function is designed to balance the workloads between CPU and GPU based on the performance models. Finally, several numerical results demonstrate the performance gains due to the novel QR factorization algorithm. © 2012 IEEE.

Metrics

1 Record Views

Details

Logo image