A refactoring tool to extract GPU kernels
Department of Mathematics and Computer Science, Virginia State University
In Proceeding of the 4th workshop on Refactoring tools (2011), pp. 29-32.
@inproceedings{damevski2011refactoring,
title={A refactoring tool to extract GPU kernels},
author={Damevski, K. and Muralimanohar, M.},
booktitle={Proceeding of the 4th workshop on Refactoring tools},
pages={29–32},
year={2011},
organization={ACM}
}
Significant performance gains can be achieved by using hardware architectures that integrate GPUs with conventional CPUs to form a hybrid and highly parallel computational engine. However, programming these novel architectures is tedious and error prone, reducing their ease of acceptance in an even wider range of computationally intensive applications. In this paper we discuss a refactoring technique, called Extract Kernel that transforms a loop written in C into a parallel function that uses NVIDIA’s CUDA framework to execute on a GPU. The selected approach and the challenges encountered are described, as well as some early results that demonstrate the potential of this refactoring.
July 22, 2011 by hgpu