透過您的圖書館登入
IP:3.138.141.202
  • 學位論文

支援OpenCL 2.0 HSA硬體平台模擬

OpenCL 2.0 Enabled HSA Hardware Platform Emulation

指導教授 : 鍾葉青

摘要


異質系統架構是一個緊密地結合了中央處理器與多種類加速處理器的開放工業標準,而且支持廣泛資料平行的程式模型。雖然,現今已經有與異質系統架構相容的硬體不過並不是完全的支援。而且大多數運用異質系統架構的軟體都還在開發中,於此時提供一個可驗證程式與工具列的模擬環境是非常有幫助的。 本文在這裡提出一個支援OpenCL 2.0版本的異質運算架構模擬器,是基於異質計算模擬器框架的系統模擬器。該模擬器提供了支援OpenCL 2.0新特性並能結合異質系統的系統模擬器,以異質系統架構的Shared Virtual Memory來支援OpenCL 2.0相同的特性,並額外提供Generic Address Space、Device Enqueue、Pipe、C11 atomic幾項OpenCL 2.0規範的特性,以利程式開發者能透過撰寫OpenCL的程式來對程式在異質系統架構上是否有利來進行驗證。在我們初步的實驗中,該模擬器已經能夠通過以上特性的基準測試,可以幫助開發人員驗證程式結果與程式效能。

關鍵字

OpenCL 2.0 異質系統架構 HSA 模擬器 GPGPU

並列摘要


Heterogeneous System Architecture (HSA) is an open industry standard that tightly coupled the CPU with variety accelerators and also designed to support data-parallel programming models. Although there is a HSA-compatible machine, it is still not the HSA fully supported machine. A lot of software components using HSA is in development, so it is useful by providing an emulation environment for verifying HSA software components and tool-chains In this paper, we introduce a HSA emulation platform that can support OpenCL 2.0, which is based on HSAemu framework. HSA emulation platform provides a plat-form that combines OpenCL 2.0 with Heterogeneous System Architecture, using Shared Virtual Memory in HSA to achieve the same feature in OpenCL 2.0, and sup-ply with other new features such as Generic Address Space, Device Enqueue, Pipe, C11 atomic. Programmers can verify whether the program written in OpenCL can leverage the Heterogeneous System Architecture. In our preliminary experiments, the HSAemu has been validated by those extra features mentioned above. It can help developers to verify the program results and performances.

並列關鍵字

OpenCL 2.0 HSA emulator GPGPU

參考文獻


[3] Fabrice Bellard, "QEMU, a fast and portable dynamic translator," in USENIX Annual Technical Conference, 2005, pp. 41-46.
[7] Bradford Beckmann, Gabriel Black, Steven K. Reinhardt, Ali Saidi, Arkaprava Basu, Joel Hestness, Derek R, Hower, Tushar Krishna, Somayeh Sardashti, Rathijit Sen, Korey Sewell, Muhammad Shoaib, Nilay Vaish, Mark D. Hill, David A. Wood Nathan Binkert, "The gem5 simulator," ACM SIGARCH Computer Architecture News, pp. 1-7, 2011.
[10] Tei-Wei Kuo, Chi-Sheng Shih, and Chia-Heng Tu Shih-Hao Hung, "System wide profiling and optimization with virtual machines," Asia and South Pacific Design Automation Conference, pp. 395-400, 2012.
[12] Po-Chun Chang, Wei-Chung Hsu, and Yeh-Ching Chung Jiun-Hung Ding, "PQEMU: A Parallel System Emulator Based on QEMU," in IEEE 17th International Conference on Parallel and Distributed Systems, 2011, pp. 276-283.
[13] Z. Wang et al., "COREMU: a scalable and portable parallel full-system emulator," in Principles and Practice of Parallel Programming, 2011, pp. 213-222.

延伸閱讀