Special Issue on Workshop on Advances in Parallel and Distributed Computational Models 2013
Toward a Generic Hybrid CPU-GPU Parallelization of Divide-and-Conquer Algorithms
International Journal of Networking and Computing, Vol. 4, No. 1, pp. 131–150, January 2014
Download PDF DOI: 10.15803/ijnc.4.1_131
Abstract
In the last few years, the development of programming languages for general purpose computing on Graphic Processing Units (GPUs) has led to the design and implementation of fast parallel algorithms for this architecture for a large spectrum of applications. Given the streaming-processing characteristics of GPUs, most practical applications consist of tasks that admit highly data-parallel algorithms. Many problems, however, allow for task-parallel solutions or a combination of task and data-parallel algorithms. For these, a hybrid CPU-GPU parallel algorithm that combines the highly parallel stream-processing power of GPUs with the higher scalar power of multi-cores is likely to be superior. In this paper we describe a generic translation of any recursive sequential implementation of a divide-and-conquer algorithm into an implementation that benefits from running in parallel in both multi-cores and GPUs. This translation is generic in the sense that it requires little knowledge of the particular algorithm. We then present a schedule and work division scheme that adapts to the characteristics of each algorithm and the underlying architecture, efficiently balancing the workload between GPU and CPU. Our experiments show a 4.5x speedup over a single core recursive implementation, while demonstrating the accuracy and practicality of the approach.
Keywords
multi-coreGPUheterogeneous architectureshybrid algorithmsperformance modelingdivide-and-conquerparallel algorithms
How to Cite
Alejandro López-Ortiz, Alejandro Salinger and Robert Suderman, "Toward a Generic Hybrid CPU-GPU Parallelization of Divide-and-Conquer Algorithms," International Journal of Networking and Computing, vol. 4, no. 1, pp. 131–150, 2014. doi: 10.15803/ijnc.4.1_131
BibTeX
@article{ijnc.v04n01p09,
author = {Alejandro López-Ortiz and Alejandro Salinger and Robert Suderman},
title = {Toward a Generic Hybrid CPU-GPU Parallelization of Divide-and-Conquer Algorithms},
journal = {International Journal of Networking and Computing},
volume = {4},
number = {1},
pages = {131--150},
year = {2014},
doi = {10.15803/ijnc.4.1_131},
url = {https://ijnc-journal.github.io/articles/v04n01p09/}
}