arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.12834cs.AR
收藏

基于SAT的精确模调度映射用于资源受限的粗粒度可重构阵列

SAT-based Exact Modulo Scheduling Mapping for Resource-Constrained CGRAs

Cristian Tirelli, Juan Sapriza, Rubén Rodríguez Álvarez, Lorenzo Ferretti, Benoît Denkinger, Giovanni Ansaloni, José Miranda Calero, David Atienza, Laura Pozzi

AI总结:

本文提出基于SAT的精确模调度映射方法SAT-MapIt,利用内核移动性调度生成布尔约束,在资源受限CGRAs上实现高效映射,实验表明在近50%基准中优于现有技术,并验证了硬件无关分析对设计空间剪枝的有效性。

摘要:

粗粒度可重构阵列(CGRAs)代表了一种新兴的低功耗架构,旨在加速计算密集型循环(CILs)。CGRAs提供加速的有效性依赖于映射的质量:即CIL被编译到平台上的效率。最先进的(SoA)编译技术利用模调度来最小化迭代间隔(II),并使用如最大团枚举等图算法来解决映射挑战。我们的工作通过可满足性(SAT)公式化来处理映射问题。我们引入了内核移动性调度(KMS),这是一种与数据流图和CGRA架构信息一起使用的专用调度,用于生成布尔语句,当这些语句被满足时,即可产生有效的映射。实验结果表明,SAT-MapIt在近50%的探索基准中优于SoA替代方案。此外,我们在一个可综合的CGRA设计中评估了映射结果,并强调了不同CILs和CGRA尺寸下的运行时指标趋势,即能效和延迟。我们表明,在编译器级指标上进行的与硬件无关的分析可以最优地剪枝架构设计空间,同时保留帕累托最优配置。此外,通过探索实现细节如何影响真实硬件上的成本和性能,我们强调了整体软件到硬件映射流程(如本文所呈现的)的重要性。

英文摘要:

Coarse-Grain Reconfigurable Arrays (CGRAs) represent emerging low-power architectures designed to accelerate Compute-Intensive Loops (CILs). The effectiveness of CGRAs in providing acceleration relies on the quality of mapping: how efficiently the CIL is compiled onto the platform. State of the Art (SoA) compilation techniques utilize modulo scheduling to minimize the Iteration Interval (II) and use graph algorithms like Max-Clique Enumeration to address mapping challenges. Our work approaches the mapping problem through a satisfiability (SAT) formulation. We introduce the Kernel Mobility Schedule (KMS), an ad-hoc schedule used with the Data Flow Graph and CGRA architectural information to generate Boolean statements that, when satisfied, yield a valid mapping. Experimental results demonstrate SAT-MapIt outperforming SoA alternatives in almost 50\% of explored benchmarks. Additionally, we evaluated the mapping results in a synthesizable CGRA design and emphasized the run-time metrics trends, i.e. energy efficiency and latency, across different CILs and CGRA sizes. We show that a hardware-agnostic analysis performed on compiler-level metrics can optimally prune the architectural design space, while still retaining Pareto-optimal configurations. Moreover, by exploring how implementation details impact cost and performance on real hardware, we highlight the importance of holistic software-to-hardware mapping flows, as the one presented herein.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑