Automatic Kernel Fusion for Image Processing DSLs

被引:11
|
作者
Qiao, Bo [1 ]
Reiche, Oliver [1 ]
Hannig, Frank [1 ]
Teich, Juergen [1 ]
机构
[1] Friedrich Alexander Univ Erlangen Nurnberg FAU, Hardware Software Codesign, Dept Comp Sci, Erlangen, Germany
关键词
Domain-Specific Languages; Image Processing; Kernel Fusion; GPUs; LANGUAGE; COMPILER;
D O I
10.1145/3207719.3207723
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Programming image processing algorithms on hardware accelerators such as graphics processing units (GPUs) often exhibits a trade-off between software portability and performance portability. Domain-specific languages (DSLs) have proven to be a promising remedy, which enable optimizations and generation of efficient code from a concise, high-level algorithm representation. The scope of this paper is an optimization framework for image processing DSLs in the form of a source-to-source compiler. To cope with the inter-kernel communication bound via global memory for GPU applications, kernel fusion is investigated as a primary optimization technique to improve temporal locality. In order to enable automatic kernel fusion, we analyze the fusibility of each kernel in the algorithm, in terms of data dependencies, resource utilization, and parallelism granularity. By combining the obtained information with the domain-specific knowledge captured in the DSL, a method to automatically fuse the suitable kernels is proposed and integrated into an open source DSL framework. The novel kernel fusion technique is evaluated on two filter-based image processing applications, for which speedups of up to 1.60 are obtained for an NVIDIA Geforce 745 graphics card target.
引用
收藏
页码:76 / 85
页数:10
相关论文
共 50 条
  • [31] Pipelined Iterative Solvers with Kernel Fusion for Graphics Processing Units
    Rupp, Karl
    Weinbub, Josef
    Juengel, Ansgar
    Grasser, Tibor
    ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2016, 43 (02):
  • [32] Image Processing and Pattern Recognition Tools for the Automatic Image Transcription
    Haddad, Zehira
    Chen, Yong
    Krahe, Jaime Lopez
    COMPUTERS HELPING PEOPLE WITH SPECIAL NEEDS, ICCHP 2016, PT I, 2016, 9758 : 197 - 203
  • [33] Image Fusion Based on Kernel Estimation and Data Envelopment Analysis
    Xie, Qiwei
    Chen, Xi
    Li, Lin
    Rao, Kaifeng
    Tao, Luo
    Ma, Chao
    INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGY & DECISION MAKING, 2019, 18 (02) : 487 - 515
  • [34] FUSION OF DIVERSE FEATURES AND KERNELS USING LP-NORM BASED MULTIPLE KERNEL LEARNING IN HYPERSPECTRAL IMAGE PROCESSING
    Islam, Muhammad Aminul
    Anderson, Derek T.
    Ball, John E.
    Younan, Nicholas H.
    2016 8TH WORKSHOP ON HYPERSPECTRAL IMAGE AND SIGNAL PROCESSING: EVOLUTION IN REMOTE SENSING (WHISPERS), 2016,
  • [35] Kernel fusion for image classification using fuzzy structural information
    Aldea, Emanuel
    Fouquier, Geoffroy
    Atif, Jamal
    Bloch, Isabelle
    ADVANCES IN VISUAL COMPUTING, PROCEEDINGS, PT 2, 2007, 4842 : 307 - +
  • [36] Automatic generation of neural networks for image processing
    Soares, Andre B.
    Susin, Altamiro A.
    Guimaraes, Leticia V.
    2006 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS 1-11, PROCEEDINGS, 2006, : 3201 - 3204
  • [37] Automatic quantification of crack patterns by image processing
    Liu, Chun
    Tang, Chao-Sheng
    Shi, Bin
    Suo, Wen-Bin
    COMPUTERS & GEOSCIENCES, 2013, 57 (57) : 77 - 80
  • [38] PolyMage: Automatic Optimization for Image Processing Pipelines
    Mullapudi, Ravi Teja
    Vasista, Vinay
    Bondhugula, Uday
    ACM SIGPLAN NOTICES, 2015, 50 (04) : 429 - 443
  • [39] Development of automatic microscopic image processing system
    Miao, Zhenkui
    Wang, Qingyou
    Liu, Shirong
    Liu, Rui
    Lin, Jiaming
    Guangxue Jishu/Optical Technique, 1997, (01): : 43 - 45
  • [40] Application of Image Processing in Automatic Vehicle Guidance
    唐莉萍
    臧珠萍
    曾培峰
    欧阳文斌
    JournalofDonghuaUniversity(EnglishEdition), 2011, 28 (02) : 190 - 195