Hardware-in-the-loop simulation of Android GPGPU applications

Youngsub Ko, Saehanseul Yi, Youngmin Yi, Myungsun Kim, Soonhoi Ha

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

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

Original languageEnglish
Title of host publication2014 IEEE 12th Symposium on Embedded Systems for Real-Time Multimedia, ESTIMedia 2014
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages108-117
Number of pages10
ISBN (Electronic)9781479963072
DOIs
StatePublished - 18 Nov 2014
Event12th IEEE Symposium on Embedded Systems for Real-Time Multimedia, ESTIMedia 2014 - Greater Noida, India
Duration: 16 Oct 201417 Oct 2014

Publication series

Name2014 IEEE 12th Symposium on Embedded Systems for Real-Time Multimedia, ESTIMedia 2014

Conference

Conference12th IEEE Symposium on Embedded Systems for Real-Time Multimedia, ESTIMedia 2014
Country/TerritoryIndia
CityGreater Noida
Period16/10/1417/10/14

Keywords

  • GPGPU
  • HIL(Hardware-in-the-loop) Simulation

Fingerprint

Dive into the research topics of 'Hardware-in-the-loop simulation of Android GPGPU applications'. Together they form a unique fingerprint.

Cite this