A Scalable Approach to Solving Dense Linear Algebra Problems on Hybrid CPU-GPU Systems

TitleA Scalable Approach to Solving Dense Linear Algebra Problems on Hybrid CPU-GPU Systems
Publication TypeJournal Article
Year of Publication2015
AuthorsSong, F., and J. Dongarra
JournalConcurrency and Computation: Practice and Experience
Date Published09-2015
Keywordsdense linear algebra, distributed dataflow scheduling, heterogeneous HPC systems, runtime systems
AbstractAiming to fully exploit the computing power of all CPUs and all graphics processing units (GPUs) on hybrid CPU-GPU systems to solve dense linear algebra problems, we design a class of heterogeneous tile algorithms to maximize the degree of parallelism, to minimize the communication volume, and to accommodate the heterogeneity between CPUs and GPUs. The new heterogeneous tile algorithms are executed upon our decentralized dynamic scheduling runtime system, which schedules a task graph dynamically and transfers data between compute nodes automatically. The runtime system uses a new distributed task assignment protocol to solve data dependencies between tasks without any coordination between processing units. By overlapping computation and communication through dynamic scheduling, we are able to attain scalable performance for the double-precision Cholesky factorization and QR factorization. Our approach demonstrates a performance comparable to Intel MKL on shared-memory multicore systems and better performance than both vendor (e.g., Intel MKL) and open source libraries (e.g., StarPU) in the following three environments: heterogeneous clusters with GPUs, conventional clusters without GPUs, and shared-memory systems with multiple GPUs.