Data Transfer Optimization for Loop Mapping on CGRAs via Polyhedral Transformation

IF 3.6 3区 计算机科学 Q2 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Zhaorui Chen;Liao Huang;Xiao Xiong;Dajiang Liu
{"title":"Data Transfer Optimization for Loop Mapping on CGRAs via Polyhedral Transformation","authors":"Zhaorui Chen;Liao Huang;Xiao Xiong;Dajiang Liu","doi":"10.1109/TCAD.2025.3630548","DOIUrl":null,"url":null,"abstract":"Coarse-grained reconfigurable arrays (CGRAs) play an important role in accelerating computation-intensive applications due to their flexibility and power efficiency. Most existing mapping works for CGRAs assume that all the data of a loop kernel can be previously moved from DRAM to scratchpad memory (SPM) with one data transfer. However, when targeting low-power CGRAs, the SPM can hardly hold the entire data, even for a small loop kernel, and it inevitably incurs multiple data transfers, leading to notable costs. In this case, where and how to perform data transfer, considering the DRAM access behavior, is crucial to the overall execution performance. To this end, this article proposes a data transfer optimization method to simultaneously optimize loop pipelining and data transfer. Since there is an interplay between loop structure and data transfer, we establish an optimization problem considering both polyhedral transformation and transfer strategy exploration, offering opportunities to find the near-optimal data transfer strategy within the search space. The experimental results show that compared with existing methods, our method can achieve <inline-formula> <tex-math>$1.36\\times -4.55\\times $ </tex-math></inline-formula> speedup for loop kernels with different on-chip buffer sizes and only increases the compilation time by a small amount.","PeriodicalId":13251,"journal":{"name":"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems","volume":"45 7","pages":"3291-3304"},"PeriodicalIF":3.6000,"publicationDate":"2026-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11232486/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/11/7 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Coarse-grained reconfigurable arrays (CGRAs) play an important role in accelerating computation-intensive applications due to their flexibility and power efficiency. Most existing mapping works for CGRAs assume that all the data of a loop kernel can be previously moved from DRAM to scratchpad memory (SPM) with one data transfer. However, when targeting low-power CGRAs, the SPM can hardly hold the entire data, even for a small loop kernel, and it inevitably incurs multiple data transfers, leading to notable costs. In this case, where and how to perform data transfer, considering the DRAM access behavior, is crucial to the overall execution performance. To this end, this article proposes a data transfer optimization method to simultaneously optimize loop pipelining and data transfer. Since there is an interplay between loop structure and data transfer, we establish an optimization problem considering both polyhedral transformation and transfer strategy exploration, offering opportunities to find the near-optimal data transfer strategy within the search space. The experimental results show that compared with existing methods, our method can achieve $1.36\times -4.55\times $ speedup for loop kernels with different on-chip buffer sizes and only increases the compilation time by a small amount.
基于多面体变换的CGRAs环映射数据传输优化
粗粒度可重构阵列(CGRAs)由于其灵活性和功耗效率在加速计算密集型应用中发挥着重要作用。大多数用于CGRAs的现有映射工作都假定循环内核的所有数据都可以通过一次数据传输预先从DRAM移动到刮板内存(SPM)。然而,当以低功耗CGRAs为目标时,SPM几乎无法保存全部数据,即使对于小循环内核也是如此,而且它不可避免地会导致多次数据传输,从而导致显著的成本。在这种情况下,考虑到DRAM访问行为,在哪里以及如何执行数据传输对整体执行性能至关重要。为此,本文提出了一种同时优化循环流水线和数据传输的数据传输优化方法。由于环路结构和数据传输之间存在相互作用,我们建立了一个考虑多面体变换和传输策略探索的优化问题,为在搜索空间内寻找接近最优的数据传输策略提供了机会。实验结果表明,与现有方法相比,对于不同片上缓冲区大小的循环内核,我们的方法可以实现1.36 -4.55倍的加速,并且只增加了少量的编译时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.60
自引率
13.80%
发文量
500
审稿时长
7 months
期刊介绍: The purpose of this Transactions is to publish papers of interest to individuals in the area of computer-aided design of integrated circuits and systems composed of analog, digital, mixed-signal, optical, or microwave components. The aids include methods, models, algorithms, and man-machine interfaces for system-level, physical and logical design including: planning, synthesis, partitioning, modeling, simulation, layout, verification, testing, hardware-software co-design and documentation of integrated circuit and system designs of all complexities. Design tools and techniques for evaluating and designing integrated circuits and systems for metrics such as performance, power, reliability, testability, and security are a focus.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书