International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
Volume 82 - Issue 3 |
Published: November 2013 |
Authors: Krishnahari Thouti, S. R. Sathe |
![]() |
Krishnahari Thouti, S. R. Sathe . A Methodology for Translating C-Programs to OpenCL. International Journal of Computer Applications. 82, 3 (November 2013), 11-15. DOI=10.5120/14095-2109
@article{ 10.5120/14095-2109, author = { Krishnahari Thouti,S. R. Sathe }, title = { A Methodology for Translating C-Programs to OpenCL }, journal = { International Journal of Computer Applications }, year = { 2013 }, volume = { 82 }, number = { 3 }, pages = { 11-15 }, doi = { 10.5120/14095-2109 }, publisher = { Foundation of Computer Science (FCS), NY, USA } }
%0 Journal Article %D 2013 %A Krishnahari Thouti %A S. R. Sathe %T A Methodology for Translating C-Programs to OpenCL%T %J International Journal of Computer Applications %V 82 %N 3 %P 11-15 %R 10.5120/14095-2109 %I Foundation of Computer Science (FCS), NY, USA
Graphics Processing Units (GPUs) is currently a common feature of high performance computing. Languages such as CUDA and Open Computing Language (OpenCL) are such programming models; provide a standard interface for achieving high performance across these GPU devices. However, because of the wide variety of architectural complexities of these GPU devices; often makes difficult to write programs for these platforms. One of the approaches to get rid off this difficulty is to parallelize sequential programs into equivalent parallel programs. In this paper, we present a methodology for parallelization of sequential C-programs with function calls to equivalent OpenCL programs with little assistance from programmer. Our proposed methodology identifies function calls and converts them into 'kernel' to be executed in parallel on GPU devices. To the best of our knowledge, there are no tools dedicated to conversion of C code to equivalent OpenCL code.