From Loop Fusion to Kernel Fusion: A Domain-Specific Approach to Locality Optimization

被引:0
|
作者
Qiao, Bo [1 ]
Reiche, Oliver [1 ]
Hannig, Frank [1 ]
Teich, Juergen [1 ]
机构
[1] Friedrich Alexander Univ Erlangen Nurnberg FAU, Erlangen, Germany
来源
PROCEEDINGS OF THE 2019 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO '19) | 2019年
关键词
ALGORITHM;
D O I
10.5281/zenodo.2240193
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Optimizing data-intensive applications such as image processing for GPU targets with complex memory hierarchies requires to explore the tradeoffs among locality, parallelism, and computation. Loop fusion as one of the classical optimization techniques has been proven effective to improve locality at the function level. Algorithms in image processing are increasing their complexities and generally consist of many kernels in a pipeline. The inter-kernel communications are intensive and exhibit another opportunity for locality improvement at the system level. The scope of this paper is an optimization technique called kernel fusion for data locality improvement. We present a formal description of the problem by defining an objective function for locality optimization. By transforming the fusion problem to a graph partitioning problem, we propose a solution based on the minimum cut technique to search fusible kernels recursively. In addition, we develop an analytic model to quantitatively estimate potential locality improvement by incorporating domain-specific knowledge and architecture details. The proposed technique is implemented in an image processing DSL and source-to-source compiler called Hipacc, and evaluated over six image processing applications on three Nvidia GPUs. A geometric mean speedup of up to 2.52 can be observed in our experiments(1).
引用
收藏
页码:242 / 253
页数:12
相关论文
共 50 条
  • [41] OPA1 mutations in dominant optic atrophy: domain-specific defects in mitochondrial fusion and apoptotic regulation
    Kexuan Zhang
    Wenqing Zhang
    Lin Zhang
    Xiaorong Hou
    Runyi Tian
    Zhengmao Hu
    Lili Yin
    Zhonghua Hu
    Journal of Translational Medicine, 23 (1)
  • [42] Building Lightweight Domain-Specific Consultation Systems via Inter-External Knowledge Fusion Contrastive Learning
    Zheng, Jiabin
    Wang, Hanlin
    Yao, Jiahui
    IEEE ACCESS, 2024, 12 : 113244 - 113258
  • [43] OPA1 disease-causing mutants have domain-specific effects on mitochondrial ultrastructure and fusion
    Cartes-Saavedra, Benjamin
    Lagos, Daniel
    Macuada, Josefa
    Arancibia, Duxan
    Burte, Florence
    Sjoberg-Herrera, Marcela K.
    Andres, Maria Estela
    Horvath, Rita
    Yu-Wai-Man, Patrick
    Hajnoczky, Gyorgy
    Eisnera, Veronica
    PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2023, 120 (12)
  • [44] A Lightweight Approach for Domain-Specific Modeling Languages Design
    Robert, Sylvain
    Gerard, Sebastien
    Terrier, Francois
    Lagarde, Francois
    2009 35TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS, PROCEEDINGS, 2009, : 155 - +
  • [45] A Unified Approach for Domain-Specific Tweet Sentiment Analysis
    Ribeiro, Patricia L. V.
    Li Weigang
    Li, Tiancheng
    2015 18TH INTERNATIONAL CONFERENCE ON INFORMATION FUSION (FUSION), 2015, : 846 - 853
  • [46] A Domain-Specific Language Approach to Protocol Stack Implementation
    Wang, Yan
    Gaspes, Veronica
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, PROCEEDINGS, 2010, 5937 : 183 - 185
  • [47] An Approach for Domain-Specific Design Pattern Identification Based on Domain Ontology
    Gkantouna, Vassiliki
    Papaioannou, Vaios
    Tzimas, Giannis
    Sabic, Zlatan
    ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS (AIAI 2019), 2019, 560 : 125 - 137
  • [48] A formal approach to the engineering of domain-specific distributed systems
    De Nicola, Rocco
    Ferrari, Gianluigi
    Pugliese, Rosario
    Tiezzi, Francesco
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2020, 111
  • [49] Developing knowledge of the judicial system: A domain-specific approach
    Berti, AE
    Ugolini, E
    JOURNAL OF GENETIC PSYCHOLOGY, 1998, 159 (02): : 221 - 236
  • [50] Domain-Specific Semantics Guided Approach to Video Captioning
    Hemalatha, M.
    Sekhar, C. Chandra
    2020 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2020, : 1576 - 1585