International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 50 - Number 8 |
Year of Publication: 2012 |
Authors: Akhil Jindal, Nikhil Jindal, Divyashikha Sethia and |
10.5120/7790-0891 |
Akhil Jindal, Nikhil Jindal, Divyashikha Sethia and . Automated Tool to Generate Parallel CUDA Code from a Serial C Code. International Journal of Computer Applications. 50, 8 ( July 2012), 15-21. DOI=10.5120/7790-0891
With the introduction of GPGPUs, parallel programming has become simple and affordable. APIs such as NVIDIA's CUDA have attracted many programmers to port their applications to GPGPUs. But writing CUDA codes still remains a challenging task. Moreover, the vast repositories of legacy serial C codes, which are still in wide use in the industry, are unable to take any advantage of this extra computing power available. Lot of attempts have thus been made at developing auto-parallelization techniques to convert a serial C code to a corresponding parallel CUDA code. Some parallelizes, allow programmers to add "hints" to their serial programs, while another approach has been to build an interactive system between programmers and parallelizing tools/compilers. But none of these are really automatic techniques, since the programmer is fully involved in the process. In this paper, we present an automatic parallelization tool that completely relieves the programmer of any involvement in the parallelization process. Preliminary results with a basic set of usual C codes show that the tool is able to provide a significant speedup of ~10 times.