Optimizing and Auto-tuning Belief Propagation on the GPU

被引:6
作者
Grauer-Gray, Scott [1 ]
Cavazos, John [1 ]
机构
[1] Univ Delaware, Newark, DE 19716 USA
来源
LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING | 2011年 / 6548卷
关键词
D O I
10.1007/978-3-642-19595-2_9
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A CUDA kernel will utilize high-latency local memory for storage when there are not enough registers to hold the required data or if the data is an array that is accessed using a variable index within a loop. However, accesses from local memory take longer than accesses from registers and shared memory, so it is desirable to minimize the use of local memory. This paper contains an analysis of strategies used to reduce the use of local memory in a CUDA implementation of belief propagation for stereo processing. We perform experiments using registers as well as shared memory as alternate locations for data initially placed in local memory, and then develop a hybrid implementation that allows the programmer to store an adjustable amount of data in shared, register, and local memory. We show results of running our optimized implementations on two different stereo sets and across three generations of nVidia GPUs, and introduce an auto-tuning implementation that generates an optimized belief propagation implementation on any input stereo set on any CUDA-capable GPU.
引用
收藏
页码:121 / 135
页数:15
相关论文
共 19 条
[11]  
Liang CK, 2009, PROC CVPR IEEE, P80, DOI 10.1109/CVPRW.2009.5206819
[12]  
Liu YX, 2009, INT PARALL DISTRIB P, P74
[13]   Optimization Principles and Application Performance Evaluation of a Multithreaded GPU Using CUDA [J].
Ryoo, Shane ;
Rodrigues, Christopher I. ;
Baghsorkhi, Sara S. ;
Stone, Sam S. ;
Kirk, David B. ;
Hwu, Wen-mei W. .
PPOPP'08: PROCEEDINGS OF THE 2008 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2008, :73-82
[14]  
Scharstein D, 2003, PROC CVPR IEEE, P195
[15]   A taxonomy and evaluation of dense two-frame stereo correspondence algorithms [J].
Scharstein, D ;
Szeliski, R .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2002, 47 (1-3) :7-42
[16]   Stereo matching using belief propagation [J].
Sun, J ;
Zheng, NN ;
Shum, HY .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2003, 25 (07) :787-800
[17]  
Volkov V, 2008, P 2008 ACM IEEE C SU, P1
[18]  
Xu Y., 2009, BELIEF PROPAGATION I, V280, P180
[19]  
Yang Q., 2006, BRIT MACHINE VISION, P989