arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.07917cs.ARcs.LGcs.NE
收藏

Chimera:一个混合机器学习驱动的FPGA高级综合多目标设计空间探索工具

Chimera: A Hybrid Machine Learning Driven Multi-Objective Design Space Exploration Tool for FPGA High-Level Synthesis

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Mang Yu, Sitao Huang, Deming Chen

摘要:

近年来,基于现场可编程门阵列(FPGA)的硬件加速器由于其非凡的灵活性而被广泛采用。然而,高灵活性带来了设计和优化的困难。传统上,这些加速器是用低级硬件描述语言设计的,这意味着创建具有复杂行为的大型设计非常困难。因此,高级综合(HLS)工具被创建来简化FPGA的硬件设计。它们使用户能够使用高级语言创建硬件设计,并提供各种优化指令,以帮助提高合成硬件的性能。然而,应用这些优化来实现高性能是耗时的,并且通常需要专业知识。为了解决这个困难,我们提出了一个自动化的设计空间探索工具,用于应用HLS优化指令,称为嵌合体,这大大减少了创建高性能HLS设计所需的人力和专业知识。它采用了一种新的多目标探索方法,无缝集成了主动学习,进化算法和汤普森采样,使它能够找到一组优化设计的帕累托曲线,只有少量的设计点在探索过程中评估。在实验中,在不到24小时的时间里,这种混合方法探索了与Rosetta基准测试套件中专家HLS用户创建的高度优化的手动调整设计相比具有相同或更高性能的设计点。除了发现极端点之外,它还探索了帕累托边界,其中肘部点可以潜在地节省高达26%的触发器资源,而延迟可以忽略不计。

英文摘要:

In recent years, hardware accelerators based on field-programmable gate arrays (FPGAs) have been widely adopted, thanks to FPGAs' extraordinary flexibility. However, with the high flexibility comes the difficulty in design and optimization. Conventionally, these accelerators are designed with low-level hardware descriptive languages, which means creating large designs with complex behavior is extremely difficult. Therefore, high-level synthesis (HLS) tools were created to simplify hardware designs for FPGAs. They enable the user to create hardware designs using high-level languages and provide various optimization directives to help to improve the performance of the synthesized hardware. However, applying these optimizations to achieve high performance is time-consuming and usually requires expert knowledge. To address this difficulty, we present an automated design space exploration tool for applying HLS optimization directives, called Chimera, which significantly reduces the human effort and expertise needed for creating high-performance HLS designs. It utilizes a novel multi-objective exploration method that seamlessly integrates active learning, evolutionary algorithm, and Thompson sampling, making it capable of finding a set of optimized designs on a Pareto curve with only a small number of design points evaluated during the exploration. In the experiments, in less than 24 hours, this hybrid method explored design points that have the same or superior performance compared to highly optimized hand-tuned designs created by expert HLS users from the Rosetta benchmark suite. In addition to discovering the extreme points, it also explores a Pareto frontier, where the elbow point can potentially save up to 26\% of Flip-Flop resource with negligibly higher latency.

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

↑