跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2105.04555 (cs)
[提交于 2021年5月10日]

标题:Customized Monte Carlo Tree Search for LLVM/Polly's Composable Loop Optimization Transformations

作者:Jaehoon Koo, Prasanna Balaprakash, Michael Kruse, Xingfu Wu, Paul Hovland, Mary Hall
查看论文《Customized Monte Carlo Tree Search for LLVM/Polly's Composable Loop Optimization Transformations》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Polly is the LLVM project's polyhedral loop nest optimizer. Recently, user-directed loop transformation pragmas were proposed based on LLVM/Clang and Polly. The search space exposed by the transformation pragmas is a tree, wherein each node represents a specific combination of loop transformations that can be applied to the code resulting from the parent node's loop transformations. We have developed a search algorithm based on Monte Carlo tree search (MCTS) to find the best combination of loop transformations. Our algorithm consists of two phases: exploring loop transformations at different depths of the tree to identify promising regions in the tree search space and exploiting those regions by performing a local search. Moreover, a restart mechanism is used to avoid the MCTS getting trapped in a local solution. The best and worst solutions are transferred from the previous phases of the restarts to leverage the search history. We compare our approach with random, greedy, and breadth-first search methods on PolyBench kernels and ECP proxy applications. Experimental results show that our MCTS algorithm finds pragma combinations with a speedup of 2.3x over Polly's heuristic optimizations on average.
主题: 程序设计语言 (cs.PL); 人工智能 (cs.AI); 分布式、并行与集群计算 (cs.DC); 机器学习 (cs.LG); 性能 (cs.PF)
引用方式: arXiv:2105.04555 [cs.PL]
  (或者 arXiv:2105.04555v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2105.04555

提交历史

来自:Jaehoon Koo
[v1] 2021年5月10日 星期一 21:57:39 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-05
切换浏览方式为:
cs
cs.AI
cs.DC
cs.LG
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站