Innovative approach for porting existing CPU program to its CUDA program

Yu Liu, Yang Hong, Chung Hung Wang, Sheng Ta Lee, Chun Yuan Lin, Che Lun Hung*

*此作品的通信作者

研究成果: Conference contribution同行評審

摘要

GPU computing has gradually become the mainstream to do high-speed computing fields, such as the meteorology, image and video processing, fluid dynamics simulation, seismic analysis, and etc. How to efficiently port an existing program on CPU to its CUDA program on GPU is an important issue. From the previous works, the porting approach can be generalized and classified into two categories: Rewrite Parallel Algorithm (abbreviate to RPA) and Modify Original Library (abbreviate to MOL). For the RPA, the programmers need to understand the original sequential or parallel algorithm on CPU absolutely and then write the CUDA program on GPU directly. For the MOL, the programmers need to analyze (profile) the existing program on CPU at first to find the most spend time libraries (or functions), then they are modified greatly (rewritten in general) to become CUDA programs (kernel functions). There are several disadvantages for the RPA and MOL, especially for the porting time and executing results. Hence, in this paper, a new approach, called innovative systematic contract (abbreviate to ISC), is proposed to allow programmers to port an existing CPU program to its CUDA program by modifying the libraries lightly. The program, BLASTN v2.2.27, was ported into a CUDA version, called CUDA-BLASTN v1, by the ISC. From the experimental results, by comparing with BLASTN v2.2.27, CUDA-BLASTN v1 achieves 5x speedup ratio and obtains almost the same executing results.

原文English
主出版物標題Proceedings - 2015 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015
編輯lng. Matthieu Schapranow, Jiayu Zhou, Xiaohua Tony Hu, Bin Ma, Sanguthevar Rajasekaran, Satoru Miyano, Illhoi Yoo, Brian Pierce, Amarda Shehu, Vijay K. Gombar, Brian Chen, Vinay Pai, Jun Huan
發行者Institute of Electrical and Electronics Engineers Inc.
頁面1503-1508
頁數6
ISBN(電子)9781467367981
DOIs
出版狀態Published - 16 12月 2015
事件IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015 - Washington, 美國
持續時間: 9 11月 201512 11月 2015

出版系列

名字Proceedings - 2015 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015

Conference

ConferenceIEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015
國家/地區美國
城市Washington
期間9/11/1512/11/15

指紋

深入研究「Innovative approach for porting existing CPU program to its CUDA program」主題。共同形成了獨特的指紋。

引用此