vix.ing · top · new · best · stats · spec

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

2020/12/12 by Emanuele Parisi, Parisi, Emanuele, Francesco Barchi +7
Computer Science · #Advanced Neural Network Applications #Cloud Computing and Resource Management #Computation and Language (cs.CL) #FOS: Computer and information sciences #Machine Learning (cs.LG) #Parallel Computing and Optimization Techniques #cs.CL #cs.LG

paper · pdf · doi:10.48550/arxiv.2012.06836

arxiv created 2020/12/12 · openalex publication_date 2020/12/12 · arxiv updated 2020/12/15 · openalex created_date 2022/07/25 · openalex updated_date 2026/07/28

Abstract

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.

Related