Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

AutoPhase: Compiler Phase-Ordering for High Level Synthesis with Deep Reinforcement Learning (1901.04615v2)

Published 15 Jan 2019 in cs.PL and cs.LG

Abstract: The performance of the code generated by a compiler depends on the order in which the optimization passes are applied. In high-level synthesis, the quality of the generated circuit relates directly to the code generated by the front-end compiler. Choosing a good order--often referred to as the phase-ordering problem--is an NP-hard problem. In this paper, we evaluate a new technique to address the phase-ordering problem: deep reinforcement learning. We implement a framework in the context of the LLVM compiler to optimize the ordering for HLS programs and compare the performance of deep reinforcement learning to state-of-the-art algorithms that address the phase-ordering problem. Overall, our framework runs one to two orders of magnitude faster than these algorithms, and achieves a 16% improvement in circuit performance over the -O3 compiler flag.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Ameer Haj-Ali (8 papers)
  2. Qijing Huang (14 papers)
  3. William Moses (7 papers)
  4. John Xiang (2 papers)
  5. Ion Stoica (177 papers)
  6. John Wawrzynek (15 papers)
  7. Krste Asanovic (8 papers)
Citations (36)