SAT-MapIt:一种基于 SAT 的模调度映射器,用于粗粒度可重构架构
SAT-MapIt: A SAT-based Modulo Scheduling Mapper for Coarse Grain Reconfigurable Architectures
AI总结:
SAT-MapIt通过SAT公式优化模调度,提升粗粒度可重构架构中循环映射的效率和性能。
摘要:
粗粒度可重构阵列(CGRAs)是一种新兴的低功耗架构,旨在加速计算密集型应用循环。然而,CGRA最终能提供的加速能力严重依赖于映射质量,即循环如何有效地编译到给定的平台上。现有最先进的编译技术通过模调度策略来最小化所需的迭代间隔(II),通常通过已知的图算法,如最大团枚举来实现。我们通过SAT公式来解决映射问题,从而更有效地探索解决方案空间。为了形成SAT问题,我们引入了一种自定义的调度称为内核移动调度(KMS),它与数据流图和CGRA的架构信息相结合,以创建一组布尔语句,描述映射必须遵守的所有约束。然后,我们让SAT求解器高效地导航这个复杂的空间。与其他现有技术一样,该过程是迭代的:如果给定的II没有有效的映射,则增加II并生成新的KMS和一组约束进行求解。我们的实验结果表明,SAT-MapIt在探索的47.72%的基准测试中比现有技术表现更好:有时找到更低的II,其他时候甚至在之前无法找到有效映射的情况下找到了有效的映射。
英文摘要:
Coarse-Grain Reconfigurable Arrays (CGRAs) are emerging low-power architectures aimed at accelerating compute-intensive application loops. The acceleration that a CGRA can ultimately provide, however, heavily depends on the quality of the mapping, i.e. on how effectively the loop is compiled onto the given platform. State of the Art compilation techniques achieve mapping through modulo scheduling, a strategy which attempts to minimize the II (Iteration Interval) needed to execute a loop, and they do so usually through well known graph algorithms, such as Max-Clique Enumeration. We address the mapping problem through a SAT formulation, instead, and thus explore the solution space more effectively than current SoA tools. To formulate the SAT problem, we introduce an ad-hoc schedule called the \textit{kernel mobility schedule} (KMS), which we use in conjunction with the data-flow graph and the architectural information of the CGRA in order to create a set of boolean statements that describe all constraints to be obeyed by the mapping for a given II. We then let the SAT solver efficiently navigate this complex space. As in other SoA techniques, the process is iterative: if a valid mapping does not exist for the given II, the II is increased and a new KMS and set of constraints is generated and solved. Our experimental results show that SAT-MapIt obtains better results compared to SoA alternatives in $47.72\%$ of the benchmarks explored: sometimes finding a lower II, and others even finding a valid mapping when none could previously be found.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。