A logic programming approach to predict effective compiler settings for embedded software
-
Published:2015-07
Issue:4-5
Volume:15
Page:481-494
-
ISSN:1471-0684
-
Container-title:Theory and Practice of Logic Programming
-
language:en
-
Short-container-title:Theory and Practice of Logic Programming
Author:
BLACKMORE CRAIG,RAY OLIVER,EDER KERSTIN
Abstract
AbstractThis paper introduces a new logic-based method for optimising the selection of compiler flags on embedded architectures. In particular, we use Inductive Logic Programming (ILP) to learn logical rules that relate effective compiler flags to specific program features. Unlike earlier work, we aim to infer human-readable rules and we seek to develop a relational first-order approach which automatically discovers relevant features rather than relying on a vector of predetermined attributes. To this end we generated a data set by measuring execution times of 60 benchmarks on an embedded system development board and we developed an ILP prototype which outperforms the current state-of-the-art learning approach in 34 of the 60 benchmarks. Finally, we combined the strengths of the current state of the art and our ILP method in a hybrid approach which reduced execution times by an average of 8% and up to 50% in some cases.
Publisher
Cambridge University Press (CUP)
Subject
Artificial Intelligence,Computational Theory and Mathematics,Hardware and Architecture,Theoretical Computer Science,Software
Reference12 articles.
1. LLVM 2015. http://llvm.org/. [Accessed 02/07/2015].
2. Inductive Logic Programming: Theory and methods
3. Fursin G. , Miranda C. , Temam O. , Namolaru M. , Yom-Tov E. , Zaks A. , et al. 2008. Milepost GCC: machine learning based research compiler. In GCC Summit.
4. Collective Benchmark 2012. http://ctuning.org/cbench/ [Accessed 05/03/15].
5. Milepost GCC: Machine Learning Enabled Self-tuning Compiler
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Lost In Translation: Exposing Hidden Compiler Optimization Opportunities;The Computer Journal;2020-08-07
2. A Survey on Compiler Autotuning using Machine Learning;ACM Computing Surveys;2019-09-30
3. Less is More;Proceedings of the 21st International Workshop on Software and Compilers for Embedded Systems;2018-05-28
4. Energy Transparency for Deeply Embedded Programs;ACM Transactions on Architecture and Code Optimization;2017-03-31