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

面向FPGA加速器的整体优化框架

Holistic Optimization Framework for FPGA Accelerators

University of California, Los Angeles(加州大学洛杉矶分校);Colorado State University(科罗拉多州立大学)

Stéphane Pouget, Michael Lo, Louis-Noël Pouchet, Jason Cong

AI总结:

本文提出Prometheus整体优化框架,通过统一设计空间整合任务融合、分块、循环置换等关键优化,并利用非线性规划在资源约束下自动生成比特流,从而在多个基准上超越现有FPGA优化框架,实现高QoR并减少手动调优。

摘要:

定制化加速器通过硬件专用化在能效和性能方面带来了显著提升,从而彻底改变了现代计算。现场可编程门阵列(FPGA)在这一范式中扮演着关键角色,提供了无与伦比的灵活性和高性能潜力。高层次综合(HLS)和源到源编译器通过将高级编程语言翻译为带有指令的硬件描述,简化了FPGA开发。然而,实现高质量结果(QoR)仍然是一个重大挑战,需要复杂的代码变换、策略性的指令放置以及优化的数据通信。本文提出了Prometheus,一个整体优化框架,将任务融合、分块、循环置换、计算-通信重叠和并发任务执行等关键优化集成到一个统一的设计空间中。通过利用非线性规划(NLP)方法,Prometheus在严格的资源约束下探索优化空间,从而实现自动比特流生成。与现有框架不同,Prometheus考虑了相互依赖的变换,并动态平衡计算和内存访问。我们在多个基准测试上评估了Prometheus,证明了其最大化并行性、最小化执行停顿和优化数据移动的能力。结果表明,与最先进的FPGA优化框架相比,其性能更为优越,突显了其在减少手动调优工作的同时提供高QoR的有效性。

英文摘要:

Customized accelerators have revolutionized modern computing by delivering substantial gains in energy efficiency and performance through hardware specialization. Field-Programmable Gate Arrays (FPGAs) play a crucial role in this paradigm, offering unparalleled flexibility and high-performance potential. High-Level Synthesis (HLS) and source-to-source compilers have simplified FPGA development by translating high-level programming languages into hardware descriptions enriched with directives. However, achieving high Quality of Results (QoR) remains a significant challenge, requiring intricate code transformations, strategic directive placement, and optimized data communication. This paper presents Prometheus, a holistic optimization framework that integrates key optimizations -- including task fusion, tiling, loop permutation, computation-communication overlap, and concurrent task execution -- into a unified design space. By leveraging Non-Linear Programming (NLP) methodologies, Prometheus explores the optimization space under strict resource constraints, enabling automatic bitstream generation. Unlike existing frameworks, Prometheus considers interdependent transformations and dynamically balances computation and memory access. We evaluate Prometheus across multiple benchmarks, demonstrating its ability to maximize parallelism, minimize execution stalls, and optimize data movement. The results showcase its superior performance compared to state-of-the-art FPGA optimization frameworks, highlighting its effectiveness in delivering high QoR while reducing manual tuning efforts.

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

↑