{"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.
期刊介绍:
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.