diff --git "a/D9E4T4oBgHgl3EQffA2Y/content/tmp_files/load_file.txt" "b/D9E4T4oBgHgl3EQffA2Y/content/tmp_files/load_file.txt" new file mode 100644--- /dev/null +++ "b/D9E4T4oBgHgl3EQffA2Y/content/tmp_files/load_file.txt" @@ -0,0 +1,957 @@ +filepath=/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf,len=956 +page_content='Learning to compile smartly for program size reduction Youwei Liang∗ 1 Kevin Stone∗ 2 Ali Shameli 2 Chris Cummins 2 Mostafa Elhoushi 2 Jiadong Guo 2 Benoit Steiner 2 Pengtao Xie 1 Hugh Leather 2 Yuandong Tian 2 Abstract Compiler optimization passes are an important tool for improving program efficiency and reduc- ing program size, but manually selecting opti- mization passes can be time-consuming and error- prone.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' While human experts have identified a few fixed sequences of optimization passes (e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content='g.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=', the Clang -Oz passes) that perform well for a wide variety of programs, these sequences are not con- ditioned on specific programs.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' In this paper, we propose a novel approach that learns a policy to select passes for program size reduction, allow- ing for customization and adaptation to specific programs.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' Our approach uses a search mecha- nism that helps identify useful pass sequences and a GNN with customized attention that se- lects the optimal sequence to use.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' Crucially it is able to generalize to new, unseen programs, making it more flexible and general than previ- ous approaches.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' We evaluate our approach on a range of programs and show that it leads to size reduction compared to traditional optimization techniques.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' Our results demonstrate the potential of a single policy that is able to optimize many programs.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' 1.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' Introduction Finding the right compiler optimization ordering for a given program in order to execute them more efficiently with a smaller amount of resources (e.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content='g.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=', memory, CPU and stor- age) is an important yet challenging problem.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' Traditionally, to tune configurations, human effort and expert knowledge are needed, which is a time-consuming and error-prone process that often yields sub-par results.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' In recent years, machine learning-guided compiler optimiza- tion has emerged as an interesting field to replace this labori- ous process (Wang & O’Boyle, 2018).' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' Along this line, many Equal contribution 1University of California, San Diego 2Meta AI.' metadata={'source': '/home/zjlab/wf/langchain-ChatGLM/knowledge_base/D9E4T4oBgHgl3EQffA2Y/content/2301.05104v1.pdf'} +page_content=' Correspondence to: Kevin Stone