標題: Enabling OpenCL support for GPGPU in Kernel-based Virtual Machine
作者: Tien, Tsan-Rong
You, Yi-Ping
資訊工程學系
Department of Computer Science
關鍵字: OpenCL;system virtualization;GPU virtualization;KVM;API remoting
公開日期: 1-五月-2014
摘要: The importance of heterogeneous multicore programming is increasing, and Open Computing Language (OpenCL) is an open industrial standard for parallel programming that provides a uniform programming model for programmers to write efficient, portable code for heterogeneous computing devices. However, OpenCL is not supported in the system virtualization environments that are often used to improve resource utilization. In this paper, we propose an OpenCL virtualization framework based on Kernel-based Virtual Machine with API remoting to enable multiplexing of multiple guest virtual machines (guest VMs) over the underlying OpenCL resources. The framework comprises three major components: (i) an OpenCL library implementation in guest VMs for packing/unpacking OpenCL requests/responses; (ii) a virtual device, called virtio-CL, that is responsible for the communication between guest VMs and the hypervisor (also called the VM monitor); and (iii) a thread, called CL thread, that is used for the OpenCL API invocation. Although the overhead of the proposed virtualization framework is directly affected by the amount of data to be transferred between the OpenCL host and devices because of the primitive nature of API remoting, experiments demonstrated that our virtualization framework has a small virtualization overhead (mean of 6.8%) for six common device-intensive OpenCL programs and performs well when the number of guest VMs involved in the system increases. These results indirectly infer that the framework allows for effective resource utilization of OpenCL devices.Copyright (c) 2012 John Wiley & Sons, Ltd.
URI: http://dx.doi.org/10.1002/spe.2166
http://hdl.handle.net/11536/24453
ISSN: 0038-0644
DOI: 10.1002/spe.2166
期刊: SOFTWARE-PRACTICE & EXPERIENCE
Volume: 44
Issue: 5
起始頁: 483
結束頁: 510
顯示於類別:期刊論文


文件中的檔案:

  1. 000333915400001.pdf

若為 zip 檔案,請下載檔案解壓縮後,用瀏覽器開啟資料夾中的 index.html 瀏覽全文。