Abstract
The popularity of the handheld systems (smartphones, tablets, ...) and their great computational capability open a new era in parallel computing terms. The efficient use of such devices is still a challenge. The heterogeneity of the SoCs and MPSocs is demanding very specific knowledge of the devices, what represents a very high learning curve for general purpose programmers. To ease the development task we present Paralldroid, a development framework oriented to general purpose programmers for mobile devices. Paralldroid presents a programming model that unifies the different programming models of Android and allows for the automatic generation of parallel code. The developer just implements an object oriented Java application and introduces a set of Paralldroid annotations in the sections of code to be optimized. The annotations used are based on the OpenMP 4.0 specification. The Paralldroid system then automatically generates the native C or Renderscript code required to take advantage of the underlying platform. The Renderscript generated code allows the execution in the GPU. The computational experience proves that the results are quite promising. The code generated by Paralldroid takes advantage of the GPU and offers good performances with a very low cost of development, so it contributes to increase the productivity when developing efficient code.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
Reid, A.D., Flautner, K., Grimley-Evans, E., Lin, Y.: SoC-C: efficient programming abstractions for heterogeneous multicore systems on chip. In: Altman, E.R. (ed.) Proceedings of the 2008 International Conference on Compilers, Architecture, and Synthesis for Embedded Systems, CASES 2008, pp. 95–104. ACM, Atlanta (2008)
Qian, X., Zhu, G., Li, X.-F.: Comparison and analysis of the three programming models in google android. In: First Asia-Pacific Programming Languages and Compilers Workshop (APPLC) (June 2012)
Valentin, C., Christian, S., Pierre, K., François, K.P., Jean-François, R.: Parallel object programming with java, http://gridgroup.hefr.ch/popj/doku.php
Viry, P.: Ateji px for java-parallel programming made simple. Ateji White Paper (2010)
Membarth, R., Reiche, O., Hannig, F., Teich, J.: Code generation for embedded heterogeneous architectures on android. In: DATE, pp. 1–6 (2014)
Acosta, A., Almeida, F.: Towards an unified heterogeneous development model in android. In: Eleventh International Workshop HeteroPar 2013: Algorithms, Models and Tools for Parallel Computing on Heterogeneous Platforms (2013)
Acosta, A., Almeida, F.: Performance analysis of paralldroid generated programs. In: 2014 22nd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, pp. 60–67 (2014)
OpenMP: The OpenMP API specification for parallel programming, http://openmp.org/wp/openmp-specifications/
Lewis, J., Loftus, W.: Java Software Solutions: Foundations of Program Design, 6th edn. Addison-Wesley Publishing Company, USA (2008)
Oracle: Java annotations specification, http://docs.oracle.com/javase/1.5.0/docs/guide/language/annotations.html
AOSP: Android Open Source Project, http://source.android.com/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Acosta, A., Almeida, F. (2014). Paralldroid: Performance Analysis of GPU Executions. In: Lopes, L., et al. Euro-Par 2014: Parallel Processing Workshops. Euro-Par 2014. Lecture Notes in Computer Science, vol 8806. Springer, Cham. https://doi.org/10.1007/978-3-319-14313-2_33
Download citation
DOI: https://doi.org/10.1007/978-3-319-14313-2_33
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-14312-5
Online ISBN: 978-3-319-14313-2
eBook Packages: Computer ScienceComputer Science (R0)