Automatic hardware pragma insertion in high-level synthesis: a non-linear programming approach
dc.contributor.author | Pouget, Stéphane, author | |
dc.contributor.author | Pouchet, Louis-Noël, author | |
dc.contributor.author | Cong, Jason, author | |
dc.contributor.author | ACM, publisher | |
dc.date.accessioned | 2025-03-13T18:31:29Z | |
dc.date.available | 2025-03-13T18:31:29Z | |
dc.date.issued | 2025-02-07 | |
dc.description.abstract | High-Level Synthesis enables the rapid prototyping of hardware accelerators, by combining a high-level description of the functional behavior of a kernel with a set of micro-architecture optimizations as inputs. Such optimizations can be described by inserting pragmas e.g., pipelining and replication of units, or even higher level transformations for HLS such as automatic data caching using the AMD/Xilinx Merlin compiler. Selecting the best combination of pragmas, even within a restricted set, remains particularly challenging and the typical state-of-practice uses design-space exploration to navigate this space. But due to the highly irregular performance distribution of pragma configurations, typical DSE approaches are either extremely time consuming, or operating on a severely restricted search space. This work proposes a framework to automatically insert HLS pragmas in regular loop-based programs, supporting pipelining, unit replication, and data caching. We develop an analytical performance and resource model as a function of the input program properties and pragmas inserted, using non-linear constraints and objectives. We prove this model provides a lower bound on the actual performance after HLS. We then encode this model as a Non-Linear Program, by making the pragma configuration unknowns of the system, which is computed optimally by solving this NLP. This approach can also be used during DSE, to quickly prune points with a (possibly partial) pragma configuration, driven by lower bounds on achievable latency. We extensively evaluate our end-to-end, fully implemented system, showing it can effectively manipulate spaces of billions of designs in seconds to minutes for the kernels evaluated. | |
dc.format.medium | born digital | |
dc.format.medium | articles | |
dc.identifier.bibliographicCitation | Stéphane Pouget, Louis-Noël Pouchet, and Jason Cong. 2025. Automatic Hardware Pragma Insertion in High-Level Synthesis:ANon-Linear Programming Approach. ACMTrans. Des. Autom. Electron. Syst. 30, 2, Article 26 (February 2025), 44 pages. https://doi.org/10.1145/3711847 | |
dc.identifier.doi | https://doi.org/10.1145/3711847 | |
dc.identifier.uri | https://hdl.handle.net/10217/240175 | |
dc.language | English | |
dc.language.iso | eng | |
dc.publisher | Colorado State University. Libraries | |
dc.relation.ispartof | Publications | |
dc.relation.ispartof | ACM DL Digital Library | |
dc.rights | ©Stéphane Pouget, et al. ACM 2025. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in ACM Transactions on Design Automation of Electronic Systems, Volume 30, Issue 2, Article No.: 26 (February 2025), https://dx.doi.org/10.1145/3711847. | |
dc.subject | high-level synthesis | |
dc.subject | field-programmable gate array | |
dc.subject | non-linear programming | |
dc.subject | program optimization | |
dc.subject | pragma insertion | |
dc.title | Automatic hardware pragma insertion in high-level synthesis: a non-linear programming approach | |
dc.type | Text |
Files
Original bundle
1 - 1 of 1