Transparent CPU-GPU Collaboration for Data-Parallel Kernels on Heterogeneous Systems

被引:0
|
作者
Lee, Janghaeng [1 ]
Samadi, Mehrzad [1 ]
Park, Yongjun [1 ]
Mahlke, Scott [1 ]
机构
[1] Univ Michigan, Adv Comp Architecture Lab, Ann Arbor, MI 48109 USA
关键词
GPGPU; OpenCL; Collaboration; Data parallel; EFFICIENT;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Heterogeneous computing on CPUs and GPUs has traditionally used fixed roles for each device: the GPU handles data parallel work by taking advantage of its massive number of cores while the CPU handles non data-parallel work, such as the sequential code or data transfer management. Unfortunately, this work distribution can be a poor solution as it under utilizes the CPU, has difficulty generalizing beyond the single CPU-GPU combination, and may waste a large fraction of time transferring data. Further, CPUs are performance competitive with GPUs on many workloads, thus simply partitioning work based on the fixed roles may be a poor choice. In this paper, we present the single kernel multiple devices (SKMD) system, a framework that transparently orchestrates collaborative execution of a single data-parallel kernel across multiple asymmetric CPUs and GPUs. The programmer is responsible for developing a single data-parallel kernel in OpenCL, while the system automatically partitions the workload across an arbitrary set of devices, generates kernels to execute the partial workloads, and efficiently merges the partial outputs together. The goal is performance improvement by maximally utilizing all available resources to execute the kernel. SKMD handles the difficult challenges of exposed data transfer costs and the performance variations GPUs have with respect to input size. On real hardware, SKMD achieves an average speedup of 29% on a system with one multicore CPU and two asymmetric GPUs compared to a fastest device execution strategy for a set of popular OpenCL kernels.
引用
收藏
页码:245 / 255
页数:11
相关论文
共 50 条
  • [31] Parallel TNN spectral clustering algorithm in CPU-GPU heterogeneous computing environment
    Zhang, Shuai
    Li, Tao
    Jiao, Xiaofan
    Wang, Yifeng
    Yang, Yulu
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2015, 52 (11): : 2555 - 2567
  • [32] Static Allocation of Parallel Tasks to Improve Schedulability in CPU-GPU Heterogeneous Real-Time Systems
    Tsog, Nandinbaatar
    Becker, Matthias
    Bruhn, Fredrik
    Behnam, Moris
    Sjodin, Mikael
    [J]. 45TH ANNUAL CONFERENCE OF THE IEEE INDUSTRIAL ELECTRONICS SOCIETY (IECON 2019), 2019, : 4516 - 4522
  • [33] A hybrid computing method of SpMV on CPU-GPU heterogeneous computing systems
    Yang, Wangdong
    Li, Kenli
    Li, Keqin
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2017, 104 : 49 - 60
  • [34] A Runtime Workload Distribution with Resource Allocation for CPU-GPU Heterogeneous Systems
    Alsubaihi, Shouq
    Gaudiot, Jean-Luc
    [J]. 2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 994 - 1003
  • [35] Mixed-Cell-Height Legalization on CPU-GPU Heterogeneous Systems
    Yang, Haoyu
    Fung, Kit
    Zhao, Yuxuan
    Lin, Yibo
    Yu, Bei
    [J]. PROCEEDINGS OF THE 2022 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2022), 2022, : 784 - 789
  • [36] Asynchronous Processing for Latent Fingerprint Identification on Heterogeneous CPU-GPU Systems
    Sanchez-Fernandez, Andres J.
    Romero, Luis F.
    Peralta, Daniel
    Medina-Perez, Miguel Angel
    Saeys, Yvan
    Herrera, Francisco
    Tabik, Siham
    [J]. IEEE ACCESS, 2020, 8 (08): : 124236 - 124253
  • [37] Heterogeneous CPU-GPU Execution of Stencil Applications
    Siklosi, Balint
    Reguly, Istvan Z.
    Mudalige, Gihan R.
    [J]. PROCEEDINGS OF 2018 IEEE/ACM INTERNATIONAL WORKSHOP ON PERFORMANCE, PORTABILITY AND PRODUCTIVITY IN HPC (P3HPC 2018), 2018, : 71 - 80
  • [38] Orchestrating Data Placement and Query Execution in Heterogeneous CPU-GPU DBMS
    Yogatama, Bobbi W.
    Gong, Weiwei
    Yu, Xiangyao
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (11): : 2491 - 2503
  • [39] Latency-Aware Packet Processing on CPU-GPU Heterogeneous Systems
    Maghazeh, Arian
    Bordoloi, Unmesh D.
    Dastgeer, Usman
    Andrei, Alexandru
    Eles, Petru
    Peng, Zebo
    [J]. PROCEEDINGS OF THE 2017 54TH ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2017,
  • [40] Energy Efficient Job Scheduling with DVFS for CPU-GPU Heterogeneous Systems
    Chau, Vincent
    Chu, Xiaowen
    Liu, Hai
    Leung, Yiu-Wing
    [J]. PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON FUTURE ENERGY SYSTEMS (E-ENERGY'17), 2017, : 1 - 11