arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.06836cs.LGcs.CL
收藏

Source Code并行超低功耗微控制器能效分类

Source Code Classification for Energy Efficiency in Parallel Ultra Low-Power Microcontrollers

Università di Bologna(博洛尼亚大学)

Emanuele Parisi, Francesco Barchi, Andrea Bartolini, Giuseppe Tagliavini, Andrea Acquaviva

摘要:

通过机器学习技术对源代码进行分析是一个日益探索的研究课题,旨在提高软件工具链的智能性,以最佳方式利用现代体系结构。在低功耗、并行嵌入式架构的情况下,这意味着找到配置,例如根据内核数量,导致最小的能耗。取决于要执行的内核,能量最优缩放配置并不是微不足道的。虽然最近的工作集中在通用系统上,以学习和预测代码片段或内核的执行时间方面的最佳执行目标,(例如,在多核CPU或GPU上卸载OpenCL内核),在这项工作中,我们专注于静态编译时功能,以评估它们是否可以成功地用于预测PULP上的最小能量配置,这是一种超低功耗架构,采用片上RISC-V处理器集群。实验表明,在源代码上使用机器学习模型来自动选择最佳能量缩放配置是可行的,并且具有在用于能量最小化的自动系统配置的上下文中使用的潜力。

英文摘要:

The analysis of source code through machine learning techniques is an increasingly explored research topic aiming at increasing smartness in the software toolchain to exploit modern architectures in the best possible way. In the case of low-power, parallel embedded architectures, this means finding the configuration, for instance in terms of the number of cores, leading to minimum energy consumption. Depending on the kernel to be executed, the energy optimal scaling configuration is not trivial. While recent work has focused on general-purpose systems to learn and predict the best execution target in terms of the execution time of a snippet of code or kernel (e.g. offload OpenCL kernel on multicore CPU or GPU), in this work we focus on static compile-time features to assess if they can be successfully used to predict the minimum energy configuration on PULP, an ultra-low-power architecture featuring an on-chip cluster of RISC-V processors. Experiments show that using machine learning models on the source code to select the best energy scaling configuration automatically is viable and has the potential to be used in the context of automatic system configuration for energy minimisation.

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

↑