Automatic Generation of OpenCL Code for ARM Architectures

Sergio Afonso,Alejandro Acosta,Francisco Almeida
DOI: https://doi.org/10.1007/978-3-319-58943-5_8
2017-01-01
Abstract:The efficient exploitation of the increasing computational capabilities of mobile devices is still a challenge. The heterogeneity of Systems on Chip (SoC) makes necessary a very specific knowledge of their hardware in order to harness their full potential. OpenCL is a well known standard for cross-platform usage of accelerator devices. We follow an annotation-based approach for solving the problem of high development cost of OpenCL programming for mobile devices. With our approach, the programmer can select from different programming models the one that offers the best performance for each section of the application. Computational results show that our automatically-generated OpenCL code can outperform Renderscript when running on the GPU of Android devices, making it the best choice for a range of parallel algorithms.
What problem does this paper attempt to address?