Reduced O3 subsequence labelling: a stepping stone towards optimisation sequence prediction

Yi Ping You*, Yi Chiao Su

*Corresponding author for this work

Research output: Contribution to journalComment/debate

2 Scopus citations

Abstract

Finding a good compiler autotuning methodology, particularly for selecting the right set of optimisations and finding the best ordering of these optimisations for a given code fragment has been a long-standing problem. As the rapid development of machine learning techniques, tackling the problem of compiler autotuning using machine learning or deep learning has become increasingly common in recent years. There have been many deep learning models proposed to solve problems, such as predicting the optimal heterogeneous mapping or thread-coarsening factor; however, very few have revisited the problem of optimisation phase tuning. In this paper, we intend to revisit and tackle the problem using deep learning techniques. Unfortunately, the problem is too complex to be addressed in its full scope. We present a new problem, called reduced O3 subsequence labelling–a reduced O3 subsequence is defined as a subsequence of O3 optimisation passes that contains no useless passes, which is a simplified problem and expected to be a stepping stone towards solving the optimisation phase tuning problem. We formulated the problem and attempted to solve the problem by using genetic algorithms. We believe that with mature deep learning techniques, a machine learning model that predicts the reduced O3 subsequences or even the best O3 subsequence for a given code fragment could be developed and used to prune the search space of the problem of the optimisation phase tuning, thereby shortening the tuning process and also providing more effective tuning results.

Original languageEnglish
Pages (from-to)2860-2877
Number of pages18
JournalConnection Science
Volume34
Issue number1
DOIs
StatePublished - 2022

Keywords

  • Compiler autotuning
  • compiler optimisation phase tuning
  • evolutionary computation

Fingerprint

Dive into the research topics of 'Reduced O3 subsequence labelling: a stepping stone towards optimisation sequence prediction'. Together they form a unique fingerprint.

Cite this