Abstract
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.