论文标题
源代码对平行超低功率微控制器的能效分类
Source Code Classification for Energy Efficiency in Parallel Ultra Low-Power Microcontrollers
论文作者
论文摘要
通过机器学习技术对源代码进行分析是一个越来越多的研究主题,旨在提高软件工具链中的智能,以最好的方式利用现代体系结构。对于低功率,并行嵌入式体系结构,这意味着要找到配置,例如,在内核数方面,导致最小的能耗。根据要执行的内核,能量最佳缩放配置并非微不足道。 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处理器。实验表明,在源代码上使用机器学习模型自动选择最佳的能量缩放配置是可行的,并且有可能在自动系统配置的背景下使用,以最小化。
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.