Model-Based Warp Overlapped Tiling for Image Processing Programs on GPUs
Model-Based Warp Overlapped Tiling for Image Processing Programs on GPUs
复制标题
GPU 上图像处理程序的基于模型的扭曲重叠平铺
DOI:
10.1145/3410463.3414649
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Guha, Arjun
中科院分区:
文献类型:
--
作者:
Jangda, Abhinav;Guha, Arjun
Domain-specific languages that execute image processing pipelines on GPUs, such as Halide and Forma, operate by 1)~dividing the image into overlapped tiles, and 2)~fusing loops to improve memory locality. However, current approaches have limitations: 1)~they require intra thread block synchronization, which has a nontrivial cost, 2)~they must choose between small tiles that require more overlapped computations or large tiles that increase shared memory access (and lowers occupancy), and 3) their autoscheduling algorithms use simplified GPU models that can result in inefficient global memory accesses.We present a new approach for executing image processing pipelines on GPUs that addresses these limitations as follows. 1) We fuse loops to form overlapped tiles that fit in a single warp, which allows us to use lightweight warp synchronization. 2) We introduce hybrid tiling, which stores overlapped regions in a combination of thread-local registers and shared memory. Thus hybrid tiling either increases occupancy by decreasing shared memory usage or decreases overlapping computations using larger tiles. 3) We present an automatic loop fusion algorithm that considers several factors that affect the performance of GPU kernels. We implement these techniques in PolyMage-GPU, which is a new GPU backend for PolyMage. Our approach produces code that is faster than Halide's manual schedules: 1.65x faster on an NVIDIA GTX 1080Ti and 1.33x faster on an NVIDIA Tesla V100.
登录
查看更多内容
DOI:
--
发表时间:
1994
期刊:
TOPL
影响因子:
--
作者:
M. Wolfe
通讯作者:
M. Wolfe
DOI:
10.1145/3297858.3304059
发表时间:
2019
期刊:
ASPLOS
影响因子:
--
作者:
Phothilimthana, Phitchaya Mangpo;Bodik, Rastislav;Elliott, Archibald Samuel;Wang, An;Jangda, Abhinav;Hagedorn, Bastian;Barthels, Henrik;Kaufman, Samuel J.;Grover, Vinod;Torlak, Emina
通讯作者:
Torlak, Emina
DOI:
10.1109/ipdps.2017.79
发表时间:
2017
期刊:
2017 IEEE International Parallel and Distributed Processing Symposium (IPDPS)
影响因子:
--
作者:
Jie Wang;Xinfeng Xie;J. Cong
通讯作者:
J. Cong
DOI:
--
发表时间:
2016
期刊:
International Conference on Supercomputing
影响因子:
--
作者:
Eli Ben;Matan Hamilis;M. Silberstein;Eran Tromer
通讯作者:
Eran Tromer
影响因子:
6.2
作者:
Adams, Andrew;Ma, Karima;Ragan-Kelley, Jonathan
通讯作者:
Ragan-Kelley, Jonathan