4840

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.

@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}

}

Download Download (PDF)   View View   Source Source   

1504

views

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-2024 hgpu.org

All rights belong to the respective authors

Contact us: