arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.04800cs.DCcs.LG
收藏

GPU支持Android设备上的数据采掘

GPU backed Data Mining on Android Devices

University of Vienna(维也纳大学)

Robert Fritze, Claudia Plant

摘要:

为低功耗设备上的高性能计算选择适当的编程范式可以有助于加速计算。许多Android设备都集成了GPU,尽管没有官方支持,但OpenCL框架可以在Android设备上用于处理这些GPU。OpenCL支持线程和数据并行。使用GPU的应用程序必须考虑到它们可以随时被用户或Android操作系统挂起的事实。我们已经创建了一个包装库,允许在Android设备上使用OpenCL。已经编写的OpenCL程序几乎不需要修改就可以执行。我们使用这个库比较了DBSCAN和Kmeans算法在Arm-v7平板电脑的集成GPU上的性能,以及同一设备上的其他单线程和多线程实现。我们已经研究了哪种编程范式和语言允许执行速度和能耗之间的最佳权衡。在Android设备上使用GPU for HPC有助于在偏远地区、恶劣环境条件下以及能源供应存在问题的地区执行计算密集型机器学习或数据采掘任务。

英文摘要:

Choosing an appropriate programming paradigm for high-performance computing on low-power devices can be useful to speed up calculations. Many Android devices have an integrated GPU and - although not officially supported - the OpenCL framework can be used on Android devices for addressing these GPUs. OpenCL supports thread and data parallelism. Applications that use the GPU must account for the fact that they can be suspended by the user or the Android operating system at any moment. We have created a wrapper library that allows to use OpenCL on Android devices. Already written OpenCL programs can be executed with almost no modification. We have used this library to compare the performance of the DBSCAN and Kmeans algorithms on an integrated GPU of an Arm-v7 tablet with other single and multithreaded implementations on the same device. We have investigated which programming paradigm and language allows the best tradeoff between execution speed and energy consumption. Using the GPU for HPC on Android devices can help to carry out computationally intensive machine learning or data mining tasks in remote areas, under harsh environmental conditions and in areas where energy supply is an issue.

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

↑