Optimizing and Auto-tuning Belief Propagation on the GPU

被引:5
|
作者
Grauer-Gray, Scott [1 ]
Cavazos, John [1 ]
机构
[1] Univ Delaware, Newark, DE 19716 USA
关键词
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
相关论文
共 50 条
  • [1] Bayesian Optimization for auto-tuning GPU kernels
    Willemsen, Floris-Jan
    van Nieuwpoort, Rob
    van Werkhoven, Ben
    PROCEEDINGS OF PERFORMANCE MODELING, BENCHMARKING AND SIMULATION OF HIGH PERFORMANCE COMPUTER SYSTEMS (PMBS 2021), 2021, : 106 - 117
  • [2] Toward Techniques for Auto-tuning GPU Algorithms
    Davidson, Andrew
    Owens, John
    APPLIED PARALLEL AND SCIENTIFIC COMPUTING, PT II, 2012, 7134 : 110 - 119
  • [3] Adaptive GPU Array Layout Auto-Tuning
    Weber, Nicolas
    Goesele, Michael
    PROCEEDINGS OF THE ACM WORKSHOP ON SOFTWARE ENGINEERING METHODS FOR PARALLEL AND HIGH PERFORMANCE APPLICATIONS (SEM4HPC'16), 2016, : 21 - 28
  • [4] Testing and Auto-Tuning GPU code with Kernel Tuner
    van Werkhoven, Ben
    2019 18TH INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING (ISPDC 2019), 2019, : XXI - XXI
  • [5] Benchmarking Optimization Algorithms for Auto-Tuning GPU Kernels
    Schoonhoven, Richard Arnoud
    van Werkhoven, Ben
    Batenburg, Kees Joost
    IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2023, 27 (03) : 550 - 564
  • [6] Accelerated Auto-Tuning of GPU Kernels for Tensor Computations
    Li, Chendi
    Xu, Yufan
    Saravani, Sina Mahdipour
    Sadayappan, P.
    PROCEEDINGS OF THE 38TH ACM INTERNATIONAL CONFERENCE ON SUPERCOMPUTING, ACM ICS 2024, 2024, : 549 - 561
  • [7] Auto-Tuning GEMV on Many-Core GPU
    Xu, Weizhi
    Liu, Zhiyong
    Wu, Jun
    Ye, Xiaochun
    Jiao, Shuai
    Wang, Da
    Song, Fenglong
    Fan, Dongrui
    PROCEEDINGS OF THE 2012 IEEE 18TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS 2012), 2012, : 30 - 36
  • [8] GPU Auto-tuning Framework for Optimal Performance and Power Consumption
    Cheema, Sunbal
    Khan, Gul N.
    15TH WORKSHOP ON GENERAL PURPOSE PROCESSING USING GPU, GPGPU 2023, 2023, : 1 - 6
  • [9] Bayesian Optimization for Auto-tuning Convolution Neural Network on GPU
    Zhu, Huming
    Liu, Chendi
    Zhang, Lingyun
    Dong, Ximiao
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2023, PT VI, 2024, 14492 : 478 - 489
  • [10] Monte Carlo Optimisation Auto-Tuning on a Multi-GPU Cluster
    Paukste, Andrius
    2012 2ND IEEE INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED AND GRID COMPUTING (PDGC), 2012, : 894 - 898