1 Hit in 0.04 sec

An Automatic Host and Device Memory Allocation Method for OpenMPC

Hiroaki Uchiyama, Tomoaki Tsumura, Hiroshi Matsuo
2012 2012 Third International Conference on Networking and Computing  
The CUDA programming model provides better abstraction for GPU programming. However, it is still hard to write programs with CUDA because both some specific techniques and knowledge about GPU architecture are required. Hence, many programming frameworks for CUDA have been developed. OpenMPC is one of them based on OpenMP. OpenMPC is an easy-to-write framework for programmers familiar with traditional OpenMP, but still requires programmers to use the special directives for utilizing fast device
more » ... lizing fast device memories. To solve this problem, this paper proposes a method for allocating appropriate device memories automatically. This paper also proposes a method for automatically allocating page locked memory for the data which are transferred between host and device. The evaluation results with several programs show that proposed methods can reduce 52% execution time in maximum. Index Terms-GPGPU, CUDA, OpenMPC, memory allocation 2012 Third International Conference on Networking and Computing 978-0-7695-4893-7/12 $26.00
doi:10.1109/icnc.2012.39 dblp:conf/ic-nc/UchiyamaTM12 fatcat:5slhqsqkrncuxncmv7kqhq5xou