A Halide-based Synergistic Computing Framework for Heterogeneous Systems

被引:3
|
作者
Liao, Shih-Wei [1 ]
Kuang, Shao-Yun [1 ]
Kao, Chia-Lung [1 ]
Tu, Chia-Heng [2 ]
机构
[1] Natl Taiwan Univ, Dept Comp Sci & Informat Engn, Taipei 106, Taiwan
[2] Natl Cheng Kung Univ, Dept Comp Sci & Informat Engn, Tainan 701, Taiwan
关键词
Halide; Heterogeneous computing; Graphic processing units; Synergistic computing; Runtime system;
D O I
10.1007/s11265-017-1283-1
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
New programming models have been developed to embrace contemporary heterogeneous machines, each of which may contain several types of processors, e.g., CPUs, GPUs, FPGAs and ASICs. Unlike the conventional ones, which use separate programming schemes for different processors of the machine, e.g., OpenMP for the CPU and CUDA for the GPU, the new ones tend to offer a unified programming model to abstract details of heterogeneous computing engines. One such programming model is Halide that is designed for high performance image processing. Halide programmers are allowed to map data and computation to either the CPUs or GPUs through high-level C++ functions, which are converted to various code targets, including x86, ARM, CUDA, and OpenCL, by the Halide compiler. Nevertheless, it becomes complex when the programmers attempt to write a Halide program for cooperative computation on both the CPU and GPU. In this work, we propose the synergistic computing framework that extends Halide to improve program execution performance. Several key issues are tackled, including data coherence, workload partitioning, job dispatching and communication/synchronization, so that the Halide programmers are allowed to take advantage of the heterogeneous computing engines with the two developed C++ classes, one is for static workload partitioning/dispatching and the other is the dynamic counterpart. Furthermore, optimizations are developed to improve performance by generating adequate the CPU code, and eliminating extra memory copies. We characterize and discuss the performance of two image processing programs and our framework on the heterogeneous platforms, i.e., Android Nexus 7 smartphone and x86-based computers. Our results show that significant performance gain can be achieved while the CPU and GPU execute a program synergistically with the proposed framework.
引用
收藏
页码:219 / 233
页数:15
相关论文
共 50 条
  • [1] A Halide-based Synergistic Computing Framework for Heterogeneous Systems
    Shih-Wei Liao
    Shao-Yun Kuang
    Chia-Lung Kao
    Chia-Heng Tu
    [J]. Journal of Signal Processing Systems, 2019, 91 : 219 - 233
  • [2] STRUCTURE OF ZINC HALIDE-BASED GLASSES
    KADONO, K
    KAGEYAMA, H
    KAMIJO, N
    TANAKA, H
    [J]. JOURNAL OF NON-CRYSTALLINE SOLIDS, 1992, 140 (1-3) : 98 - 102
  • [3] Harmonica: A Framework of Heterogeneous Computing Systems With Memristor-Based Neuromorphic Computing Accelerators
    Liu, Xiaoxiao
    Mao, Mengjie
    Liu, Beiye
    Li, Boxun
    Wang, Yu
    Jiang, Hao
    Barnell, Mark
    Wu, Qing
    Yang, Jianhua
    Li, Hai
    Chen, Yiran
    [J]. IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2016, 63 (05) : 617 - 628
  • [4] Halide-Based Materials and Chemistry for Rechargeable Batteries
    Zhao, Xiangyu
    Zhao-Karger, Zhirong
    Fichtner, Maximilian
    Shen, Xiaodong
    [J]. ANGEWANDTE CHEMIE-INTERNATIONAL EDITION, 2020, 59 (15) : 5902 - 5949
  • [5] Silver halide-based composite photocatalysts: an updated account
    Monica Pica
    [J]. Rendiconti Lincei. Scienze Fisiche e Naturali, 2019, 30 : 453 - 467
  • [6] Halide-based solid electrolytes: The history, progress, and challenges
    Nie, Xianhui
    Hu, Jiulin
    Li, Chilin
    [J]. INTERDISCIPLINARY MATERIALS, 2023, 2 (03): : 365 - 389
  • [8] Novel europium halide-based humidity indicating phase.
    Beitz, JV
    [J]. ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2004, 227 : U1293 - U1293
  • [9] Interfacial instabilities in halide-based solid-state batteries
    Liqun Guo
    Jie Zheng
    Lihong Zhao
    Yan Yao
    [J]. MRS Bulletin, 2023, 48 : 1247 - 1256
  • [10] Recent Advances in Halide-Based Perovskite Crystals and Their Optoelectronic Applications
    Babu, Ramavath
    Giribabu, Lingamallu
    Singh, Surya Prakash
    [J]. CRYSTAL GROWTH & DESIGN, 2018, 18 (04) : 2645 - 2664