Dynamically balanced synchronization-avoiding LU factorization with multicore and GPUs

TitleDynamically balanced synchronization-avoiding LU factorization with multicore and GPUs
Publication TypeConference Paper
Year of Publication2014
AuthorsDonfack, S., S. Tomov, and J. Dongarra
Conference NameFourth International Workshop on Accelerators and Hybrid Exascale Systems (AsHES), IPDPS 2014
Date Published05-2014
AbstractGraphics processing units (GPUs) brought huge performance improvements in the scientific and numerical fields. We present an efficient hybrid CPU/GPU approach that is portable, dynamically and efficiently balances the workload between the CPUs and the GPUs, and avoids data transfer bottlenecks that are frequently present in numerical algorithms. Our approach determines the amount of initial work to assign to the CPUs before the execution, and then dynamically balances workloads during the execution. Then, we present a theoretical model to guide the choice of the initial amount of work for the CPUs. The validation of our model allows our approach to self-adapt on any architecture using the manufacturer’s characteristics of the underlying machine. We illustrate our method for the LU factorization. For this case, we show that the use of our approach combined with a communication avoiding LU algorithm is efficient. For example, our experiments on a 24 cores AMD Opteron 6172 show that by adding one GPU (Tesla S2050) we accelerate LU up to 2.4x compared to the corresponding routine in MKL using 24 cores. The comparisons with MAGMA also show significant improvements.