Detailed Information

Cited 20 time in webofscience Cited 20 time in scopus
Metadata Downloads

SKMD: Single Kernel on Multiple Devices for Transparent CPU-GPU Collaboration

Authors
Lee, JanghaengSamadi, MehrzadPark, YongjunMahlke, Scott
Issue Date
Sep-2015
Publisher
ASSOC COMPUTING MACHINERY
Keywords
Compiler; runtime; CPU; GPU; collaboration; optimization
Citation
ACM TRANSACTIONS ON COMPUTER SYSTEMS, v.33, no.3
Journal Title
ACM TRANSACTIONS ON COMPUTER SYSTEMS
Volume
33
Number
3
URI
https://scholarworks.bwise.kr/hongik/handle/2020.sw.hongik/9509
DOI
10.1145/2798725
ISSN
0734-2071
Abstract
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. This work distribution can be a poor solution as it underutilizes 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 article, 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 28% 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.
Files in This Item
There are no files associated with this item.
Appears in
Collections
College of Engineering > School of Electronic & Electrical Engineering > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Altmetrics

Total Views & Downloads

BROWSE