基于单形的CGRA映射通过空间和时间解耦
Monomorphism-based CGRA Mapping via Space and Time Decoupling
AI总结:
本文提出了一种基于单形的CGRA映射方法,通过解耦时间和空间维度,提高编译效率,实现高效的代码映射。
摘要:
粗粒度可重构数组(CGRAs)在加速计算密集型循环方面提供了灵活性和能效。现有的编译技术往往在可扩展性上存在问题,无法将代码映射到大型CGRAs上。为了解决这个问题,我们提出了一种新的映射方法,将时间和空间维度解耦并分别探索。我们利用SMT公式来首先遍历时间维度,然后进行基于单形的搜索以找到有效的空间解决方案。实验结果表明,我们的方法在映射质量上达到了最先进的技术水平,同时显著减少了编译时间,尤其是在编译大型CGRAs时,这种减少尤为明显。我们在20×20的CGRAs上评估的基准测试中,实现了大约10^5倍的平均编译速度提升。
英文摘要:
Coarse-Grain Reconfigurable Arrays (CGRAs) provide flexibility and energy efficiency in accelerating compute-intensive loops. Existing compilation techniques often struggle with scalability, unable to map code onto large CGRAs. To address this, we propose a novel approach to the mapping problem where the time and space dimensions are decoupled and explored separately. We leverage an SMT formulation to traverse the time dimension first, and then perform a monomorphism-based search to find a valid spatial solution. Experimental results show that our approach achieves the same mapping quality of state-of-the-art techniques while significantly reducing compilation time, with this reduction being particularly tangible when compiling for large CGRAs. We achieve approximately $10^5\times$ average compilation speedup for the benchmarks evaluated on a $20\times 20$ CGRA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。