Abstract
Heterogeneous System Architecture (HSA) is an industry standard designed to assist a wide variety of data-parallel and task-parallel programming models. Currently, most of HSA hardware and software components are either still in development. It is useful to provide an emulation environment for HSA developers in developing HSA software stacks. In this paper, we introduce the design of HSAemu framework, a full system emulator for the HSA platform, which is based on PQEMU and Multi2Sim. HSAemu framework provides a generic interface, which can integrate different simu-lator and emulator to HSAemu, the component of the framework including HSA runtime, HSA GPU emulator and CPU emulators. In our preliminary experiments, HSAemu framework already passed several benchmarks. It can help developers test-ing a complete HSA software stack and profile system performance.