Title :
A Highly Efficient Implementation of I/O Functions on GPU
Author :
Wu, Wei ; Qi, FengBin ; He, WangQuan ; Wang, ShanShan
Author_Institution :
Jiangnan Inst. of Comput. Technol., Wuxi, China
Abstract :
The API interfaces provided by CUDA can help programmers develop CUDA applications and get high performance in GPU. However, many of the I/O operations are not supported in device codes. This paper has implemented most of the I/O functions through host´s agent by using the characteristics of mapped memory in CUDA, such as read/write file and ´printf´. The methods that used to implement these I/O functions will not affect the performance of original applications, users´ I/O requirements can be responded quickly, even more, the performance of ´printf´ implemented in this paper is higher than that provided by CUDA. This paper supports easy and effective real-time debug method to GPU users, the research in this paper can improve productivity of converting legacy C/C++ codes to CUDA codes, and it is a valuable investigation for broadening CUDA´s functions.
Keywords :
application program interfaces; graphics processing units; parallel architectures; API interfaces; CUDA applications; GPU; I/O functions; highly efficient implementation; printf; read/write file; real-time debug method; Coherence; Debugging; Graphics processing unit; Instruction sets; Kernel; Libraries; Message systems; CUDA; I/O functions; mapped memory;
Conference_Titel :
Parallel and Distributed Processing Symposium Workshops & PhD Forum (IPDPSW), 2012 IEEE 26th International
Conference_Location :
Shanghai
Print_ISBN :
978-1-4673-0974-5
DOI :
10.1109/IPDPSW.2012.295