Optimization Method for Reusing GPU Data Based on Dynamic Spanning Tree

LI Liang,WANG Endong,ZHU Zhengdong,YAN Kang,ZHANG Bao,DONG Xiaoshe
DOI: https://doi.org/10.7652/xjtuxb201310008
2013-01-01
Abstract:An optimization method for reusing graphic processing unit(GPU)data is proposed based on the dynamic spanning tree to solve the problem that the reusing process with manual optimization is complicated and compilation overhead in optimization is expensive.The proposed method is transparent to programmers with simplicity and effectiveness.The approach abstracts the executed accesses of GPU tasks as leaf nodes of a spanning tree,and uses the tree to dynamically manage the access information.Then the identification and optimization for the data reusing is realized by searching and managing the tree.The complex and challenging data reuse analysis is not required since invoking the run-time library is sufficient to reduce the CPU-GPU data transfers.Experiments show that the proposed optimization method can eliminate redundant CPU-GPU data transfers in non-reuse CPU-GPU application programs and can achieve a speedup as large as 3to 10 times over the original execution.Moreover,the additional cost is just less than 5% of the execution time of the program adopting the proposed optimization.
What problem does this paper attempt to address?