Logo image
Enabling OpenCL Runtime on HSA Platforms
Thesis

Enabling OpenCL Runtime on HSA Platforms

Chen, Chou-chuan
Masters, 國立清華大學, 資訊工程學系
2014

Abstract

OpenCL OpenCL運行庫 異質系統架構 pocl OpenCL OpenCL runtime HSA pocl
In recent years, as multi-core architecture could not feed the improvements of performance and power eciency. Moreover, The entertainment and multi-media applications in high resolution display of mobile device like smart phones and tablets make the computation and graphics ability become more and more important. Therefore, people began to focus on GPU, which have parallel computing ability and ecient graphic capability. To make good use of computing ability of di erent devices, OpenCL,an parallel programming framework for heterogeneous systems has become more and more popular. Nowadays, it is used widely for compute-bound programs, like face recognition, 3D model Reconstruction and high resolution video decoding. Recently, HSA Foundation standardize and release Heterogeneous System Architecture(HSA). It is designed to integrate di erent kinds of computing elements like CPUs and GPUs to work together eciently. HSA can make di erent kinds of computing elements share the same memory address and even dispatch tasks to each other even they are not the same kind, which make OpenCL even more powerful and more ecient. In this paper, we implement an OpenCL runtime that enable OpenCL programs to run on HSA platforms. We extend pocl framework and integrate HSA compiler released by HSA Foundation to support OpenCL program to execute on HSA platforms. Pocl(Portable Computing Language) is an open source project to implement OpenCL framework paralleled by pthread In our experiment, we show that almost all benchmarks in AMD APP SDK are successfully passed by our OpenCL runtime. The runtime is enough robust and support sucient features for advanced research.

Metrics

1 Record Views

Details

Logo image