簡易檢索 / 詳目顯示

研究生: 林國閔
Lin, Kuo-Min
論文名稱: HSA編譯框架
A Compilation Framework for HSA
指導教授: 鍾葉青
Chung, Yeh-Ching
口試委員: 徐慰中
吳真貞
游逸平
朱子青
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2014
畢業學年度: 102
語文別: 英文
論文頁數: 26
中文關鍵詞: 異質系統架構模擬器
相關次數: 點閱:1下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • HSA(Heterogeneous System Architecture)基金會制定了異質系統架構之工業標準,其標準之中的HSA Runtime尤其重要,本論文將基於其最新的標準開發之模擬器,闡述HSA編譯框架與編譯器相關的HSA Runtime之設計與實作。
    HSA Runtime為連結HSA的軟體與硬體之重要部分,要在模擬器上執行HSA相關程式會需要透過標準的HSA Runtime來運行,而HSA Runtime包含許多部分,在這裡我們只對編譯器相關的HSAIL(Heterogeneous System Architecture Intermedi-ate Language) Finalization部份加以實作,並與其他部份做結合形成一個完整的HSAemu Framework。
    OpenCL為異質計算中重要的應用程式介面(API)之一,為配合HSA基金會所推出之異質系統架構更新了版本至OpenCL 2.0。所以,我們需要實作OpenCL編譯器將OpenCL之kernel code轉換成HSAIL指令,再透過HSA Runtime呼叫HSAIL Fi-nalizer編譯成對應之機器碼於模擬器上執行。


    HSA foundation formulated the standard specification called Heterogeneous Sys-tem Architecture (HSA). HSA Runtime of the standard specification is the most im-portant thing. This thesis will focus on emulator based on the standard specification, and describe the HSA Compilation Framework and HSA Runtime which depends on finalizer.
    HSA Runtime is the important part for connecting HSA standard software and hardware. HSA program should execute by HSA Runtime. There are many parts of HSA Runtime, and we just implement the part of HSAIL (Heterogeneous System Architecture Intermediate Language) Finalization, which combined with other parts as HSAemu Framework.
    OpenCL is one of important heterogeneous computing API, and it updated to ver-sion 2.0 by coordinating HSA. We should implement an OpenCL compiler to translate the kernel code to HSAIL code and call the HSAIL finalizer to translate to native code.

    Chapter 1 Introduction Chapter 2 Background Chapter 3 Related Work Chapter 4 HSA Compiler CHAPTER 5 HSA Runtime – HSAIL Finalization Chapter 6 Experiment and Result Chapter 7 Conclusion and Future Work

    REFERENCE
    [1] Jiun-Hung Ding, Po-Chun Chang, Wei-Chung Hsu, and Yeh-Ching Chung, "PQEMU: A Parallel System Emulator Based on QEMU," in IEEE 17th International Conference on Parallel and Distributed Systems, 2011, pp. 276-283.
    [2] Zhou-Dong Guo and Yeh-Ching Chung, "HSA emulator design based on QEMU," , 2013.
    [3] HSA Programmers Reference Manual (Version 1.0 Provisional).
    [4] HSA_Hardware_System_Architecture_Specification.
    [5] hsa_runtime_0_184.
    [6] Bai-Cheng Jeng and Yeh-Ching Chung, "HSAemu Framework,".
    [7] Chung-Min Kao and Yeh-Ching Chung, "The LLVM based GPU Compiler in Heterogeneous System Architecture Emu-lator: HTranslator," , 2013.
    [8] Chris Lattner and Vikram Adve, "LLVM: A Compilation Framework for Lifelong Program Analysis & Transformation," in CGO, 2004.
    [9] libclc. [Online]. http://libclc.llvm.org/

    [10] LLVM. [Online]. http://llvm.org/

    [11] OpenCL. [Online]. https://www.khronos.org/opencl/

    [12] PTX ISA : KUDA Toolkit Documentation. [Online]. http://docs.nvidia.com/cuda/parallel-thread-execution/#axzz37QfldWwY

    [13] QEMU. [Online]. http://wiki.qemu.org/Main_Page

    [14] Writing an LLVM Backend. [Online]. http://llvm.org/docs/WritingAnLLVMBackend.html

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)

    QR CODE