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*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2015 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015
Editorslng. 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
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1503-1508
Number of pages6
ISBN (Electronic)9781467367981
DOIs
StatePublished - 16 12 2015
EventIEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015 - Washington, United States
Duration: 09 11 201512 11 2015

Publication series

NameProceedings - 2015 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015

Conference

ConferenceIEEE International Conference on Bioinformatics and Biomedicine, BIBM 2015
Country/TerritoryUnited States
CityWashington
Period09/11/1512/11/15

Bibliographical note

Publisher Copyright:
© 2015 IEEE.

Keywords

  • BLAST
  • CUDA
  • GPU
  • Parallel Processing
  • Porting method

Fingerprint

Dive into the research topics of 'Innovative approach for porting existing CPU program to its CUDA program'. Together they form a unique fingerprint.

Cite this