Code Generation for Embedded Heterogeneous Architectures on Android

Conference contribution
(Conference Contribution)


Publication Details

Author(s): Membarth R, Reiche O, Hannig F, Teich J
Title edited volumes: Proceedings -Design, Automation and Test in Europe, DATE
Publisher: IEEE
Publication year: 2014
Conference Proceedings Title: Proceedings of the Conference on Design, Automation and Test in Europe (DATE)
Pages range: 86:1-86:6
ISSN: 1530-1591


Abstract


The success of Android is based on its unified Java programming model that allows to write platform-independent programs for a variety of different target platforms. However, this comes at the cost of performance. As a consequence, Google introduced APIs that allow to write native applications and to exploit multiple cores as well as embedded GPUs for compute-intensive parts. This paper proposes code generation techniques in order to target the Renderscript and Filterscript APIs. Renderscript harnesses multi-core CPUs and unified shader GPUs, while the more restricted Filterscript also supports GPUs with earlier shader models. Our techniques focus on image processing applications and allow to target these APIs and OpenCL from a common description. We further supersede memory transfers by sharing the same memory region among different processing elements on HSA platforms. As reference, we use an embedded platform hosting a multi-core ARM CPU and an ARM Mali GPU. We show that our generated source code is faster than native implementations in OpenCV as well as the pre-implemented script intrinsics provided by Google for acceleration on the embedded GPU. © 2014 EDAA.



FAU Authors / FAU Editors

Hannig, Frank Dr.-Ing.
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)
Membarth, Richard
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)
Reiche, Oliver
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)
Teich, Jürgen Prof. Dr.-Ing.
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)


How to cite

APA:
Membarth, R., Reiche, O., Hannig, F., & Teich, J. (2014). Code Generation for Embedded Heterogeneous Architectures on Android. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE) (pp. 86:1-86:6). Dresden, DE: IEEE.

MLA:
Membarth, Richard, et al. "Code Generation for Embedded Heterogeneous Architectures on Android." Proceedings of the Conference on Design, Automation and Test in Europe (DATE), Dresden IEEE, 2014. 86:1-86:6.

BibTeX: 

Last updated on 2018-19-04 at 02:53