Logo image
基於HSA之OpenCL 2.0編譯框架
Thesis

基於HSA之OpenCL 2.0編譯框架

蕭睿
Masters, National Tsing Hua University
2014

Abstract

模擬器異質系統架構 OpenCLHSAemuLLVMGPU
HSAemu Framework is an emulation framework, which is compliant with HSAdefined by HSA Foundation. The complier toolchain supporting HSAemu Frameworkis HSAemu Compilation Framework. To use HSAemu Framework and HSAemuCompilation Framework, users can write an OpenCL program and execute it. OpenCLis a library, which provides APIs to control the heterogeneous device.OpenCL 2.0 provides many new features for the heterogeneous computing, whichcan bring many benefits. The features are Shared Virtual Memory, Generic AddressSpace, Nested Parallelism, C11 Atomics and Pipes.The original version HSAemu Framework only provides Shared Virtual Memory inthe hardware level, and the HSAemu Compilation Framework only supports OpenCL1.2. In other words, the original version of HSAemu Framework and the compilationtoolchain only support OpenCL 1.2 programs.In this paper, we focus on implementing an OpenCL 2.0 Compilation Frameworkbased on HSAemu compilation Framework. After cooperating with HSAemuFramework, we can provide an emulation framework which is not only able to executeOpenCL 2.0 programs and also HSA compliant. The main OpenCL 2.0 features wefocus on are Generic Address Space, Nested Parallelism, C11 Atomics and Pipe.

Metrics

1 Record Views

Details

Logo image