A refactoring tool to extract GPU kernels

Kostadin Damevski, Madhan Muralimanohar
Department of Mathematics and Computer Science, Virginia State University
In Proceeding of the 4th workshop on Refactoring tools (2011), pp. 29-32.


   title={A refactoring tool to extract GPU kernels},

   author={Damevski, K. and Muralimanohar, M.},

   booktitle={Proceeding of the 4th workshop on Refactoring tools},





Download Download (PDF)   View View   Source Source   



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.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2021 hgpu.org

All rights belong to the respective authors

Contact us: