arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2112.04845cs.DC
收藏

Android设备上的高性能计算--一个案例研究

High performance computing on Android devices -- a case study

Robert Fritze, Claudia Plant

摘要:

用于低功率设备的高性能计算可以用于加速使用比能量效率不是问题的计算机更低时钟速率的处理器上的计算。在本试验中,我们比较了Android设备的不同高性能技术,特别关注GPU的使用。虽然没有官方支持,但OpenCL框架可以在Android平板电脑上使用。为了比较不同的并行编程范式,选择了一个可以很容易地与所有框架实现的基准。Mandelbrot算法是计算密集型的,并且具有非常少的输入和输出操作。该算法已在Java,C,C与汇编程序,C与SIMD汇编程序,C与OpenCL和标量指令和C与OpenCL和向量指令中实现。这些实现已针对Android当前支持的所有架构进行了测试。使用SIMD和OpenCL可以实现高加速比,尽管两者的实现都不简单。使用GPU的应用程序必须考虑到用户可以随时暂停它们。在Android设备的GPU上使用OpenCL框架时,软件开发人员可以获得与现代高速CPU相当的计算能力。

英文摘要:

High performance computing for low power devices can be useful to speed up calculations on processors that use a lower clock rate than computers for which energy efficiency is not an issue. In this trial, different high performance techniques for Android devices have been compared, with a special focus on the use of the GPU. Although not officially supported, the OpenCL framework can be used on Android tablets. For the comparison of the different parallel programming paradigms, a benchmark was chosen that could be implemented easily with all frameworks. The Mandelbrot algorithm is computationally intensive and has very few input and output operations. The algorithm has been implemented in Java, C, C with assembler, C with SIMD assembler, C with OpenCL and scalar instructions and C with OpenCL and vector instructions. The implementations have been tested for all architectures currently supported by Android. High speedups can be achieved using SIMD and OpenCL, although the implementation is not straightforward for either one. Apps that use the GPU must account for the fact that they can be suspended by the user at any moment. In using the OpenCL framework on the GPU of Android devices, a computational power comparable to those of modern high speed CPUs can be made available to the software developer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑