DocumentCode :
159803
Title :
Hardware-in-the-loop simulation of Android GPGPU applications
Author :
Youngsub Ko ; Saehanseul Yi ; Youngmin Yi ; Myungsun Kim ; Soonhoi Ha
Author_Institution :
Dept. of Comput. Sci. & Eng., Seoul Nat. Univ., Seoul, South Korea
fYear :
2014
fDate :
16-17 Oct. 2014
Firstpage :
108
Lastpage :
117
Abstract :
Emerging mobile devices are likely to adopt CPU-GPU heterogeneous architecture where an embedded GPU executes offloaded computations from the CPU as well as rendering tasks. For design space exploration of such a CPU-GPU heterogeneous architecture at the early design stage or for monitoring the dynamic system behavior of a system, it is very desirable to run the same application software on a full system simulation platform without modification. Since simulations will be performed repetitively, compromise should be made between simulation speed and timing accuracy. Since all known GPU simulators are very slow, in this paper, we propose a hardware-in-the-loop (HIL) simulation framework that integrates the CPU simulator with an existent GPU hardware. A novel interfacing mechanism between the CPU simulator and the GPU hardware is devised to guarantee functional correctness. The proposed technique maintains the timing accuracy of computation workload as much as possible with unavoidable penalty on the timing accuracy of CPU-GPU communication overhead. The proposed simulation framework is implemented with a gem5 full-system simulator and various kinds of GPGPU hardware. For a real-life scenario, we ported the Android platform to the proponativesed simulation framework and ran a face detection application that calls a native function via JNI. The native function can be written in CUDA or OpenCL if it will be offloaded to the GPU, or in Pthreads if it will be run on the CPU. Preliminary experiments show some use cases of the proposed simulation framework for design space exploration and dynamic behavior monitoring.
Keywords :
Android (operating system); digital simulation; embedded systems; graphics processing units; rendering (computer graphics); smart phones; Android GPGPU applications; Android platform; CPU simulator; CPU- GPU heterogeneous architecture; CPU-GPU communication overhead; CUDA; GPGPU hardware; GPU simulators; HIL simulation framework; JNI; OpenCL; Pthreads; computation workload; design space exploration; dynamic behavior monitoring; dynamic system behavior; embedded GPU; face detection application; full system simulation platform; hardware-in-the-loop simulation framework; mobile devices; offloaded computations; Androids; Graphics processing units; Hardware; Humanoid robots; Kernel; Libraries; Timing; GPGPU; HIL(Hardware-in-the-loop) Simulation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Embedded Systems for Real-time Multimedia (ESTIMedia), 2014 IEEE 12th Symposium on
Conference_Location :
Greater Noida
Type :
conf
DOI :
10.1109/ESTIMedia.2014.6962351
Filename :
6962351
Link To Document :
بازگشت