DocumentCode :
2532988
Title :
GPU-S2S: A Compiler for Source-to-Source Translation on GPU
Author :
Li, Dan ; Cao, Haijun ; Dong, Xiaoshe ; Zhang, Bao
Author_Institution :
Dept. of Comput. Sci. & Technol., Xi´´an Jiaotong Univ., Xi´´an, China
fYear :
2010
fDate :
18-20 Dec. 2010
Firstpage :
144
Lastpage :
148
Abstract :
CUDA facilitates the development of General Purpose computing on Graphics Processing Units (GPGPU), however, its complex memory system, thread-level structure, and data transmission control between memories have brought great challenges for programming on GPU. In order to facilitate the development of parallel programs on GPU and reuse existing sequential codes, in this paper we propose a novel directive based compiler guided approach. Through combining automatic mapping and static compilation, we have implemented a prototype of automatic source-to-source translation tool named GPU-S2S, capable of translating the C sequential code with directives into CUDA code. Experimental results show that CUDA code generated by GPU-S2S can achieve comparable performance with that of CUDA benchmark provided by NVIDIA CUDA SDK, and has significant performance improvements compared with its original C sequential code.
Keywords :
computer graphic equipment; coprocessors; data communication; parallel programming; program compilers; sequential codes; storage management; C sequential code; CUDA code; GPU-S2S; NVIDIA CUDA SDK; automatic mapping; automatic source-to-source translation tool; complex memory system; data transmission control; directive based compiler guided approach; graphics processing unit; parallel program; static compilation; thread level structure; Arrays; Data mining; Graphics processing unit; Instruction sets; Kernel; Libraries; Optimization; GPU; compiler directive; source-to-source translation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Architectures, Algorithms and Programming (PAAP), 2010 Third International Symposium on
Conference_Location :
Dalian
Print_ISBN :
978-1-4244-9482-8
Type :
conf
DOI :
10.1109/PAAP.2010.43
Filename :
5715076
Link To Document :
بازگشت