Synthesizing Structured Traversals from Attribute Grammars

user-5ebe28444c775eda72abcdcf(2012)

引用 0|浏览2
暂无评分
摘要
We examine how to automatically decompose a program into structured parallel traversals over trees. In our system, programs are declaratively specified as attribute grammars and parallel traversals are defined by a compiler designed to optimize them for both GPUs and multicore CPUs. Our synthesizer automatically finds a correct schedule of the attribute grammar as structured traversals. The combination of traversals impacts algorithm performance and software integration. We therefore introduce a declarative language of traversal schedules where programmers may sketch any part of the schedule and the synthesizer will fill in the rest. For the same motivations, the synthesizer autotunes over any underconstrained fragment and can answer debugging queries about if and how such sketches can be completed. This paper presents our synthesizer, and its support for finding, specifying, debugging, and autotuning …
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要