Skip to main content
QUICK REVIEW

[论文解读] Automatic Nested Loop Acceleration on FPGAs Using Soft CGRA Overlay

Cheng Liu, Ho-Cheung Ng|arXiv (Cornell University)|Aug 27, 2015
Embedded Systems Design TechniquesComputer Science参考文献 27被引用 20
一句话总结

本文提出了一种基于软粗粒度可重构数组(SCGRA)叠加层的自动框架,用于在FPGA上加速嵌套循环。通过在资源约束下联合优化架构参数、高层编译选项以及主机-加速器通信,该框架在非定制化基线基础上实现了最高5倍的加速,在Zedboard ARM处理器上的软件实现基础上实现了最高10倍的加速。

ABSTRACT

Offloading compute intensive nested loops to execute on FPGA accelerators have been demonstrated by numerous researchers as an effective performance enhancement technique across numerous application domains. To construct such accelerators with high design productivity, researchers have increasingly turned to the use of overlay architectures as an intermediate generation target built on top of off-the-shelf FPGAs. However, achieving the desired performance-overhead trade-off remains a major productivity challenge as complex application-specific customizations over a large design space covering multiple architectural parameters are needed. In this work, an automatic nested loop acceleration framework utilizing a regular soft coarse-grained reconfigurable array (SCGRA) overlay is presented. Given high-level resource constraints, the framework automatically customizes the overlay architectural design parameters, high-level compilation options as well as communication between the accelerator and the host processor for optimized performance specifically to the given application. In our experiments, at a cost of 10 to 20 minutes additional tools run time, the proposed customization process resulted in up to 5 times additional speedup over a baseline accelerator generated by the same framework without customization. Overall, when compared to the equivalent software running on the host ARM processor alone on the Zedboard, the resulting accelerators achieved up to 10 times speedup.

研究动机与目标

  • 为解决在设计计算密集型嵌套循环的高性能FPGA加速器时面临的生产力挑战。
  • 实现FPGA叠加架构的自动定制,以在资源约束下获得最佳性能。
  • 探索在特定应用加速器生成中性能与设计开销之间的权衡。
  • 将主机处理器通信优化集成到自动加速流水线中。
  • 展示相较于纯软件执行和非定制化硬件加速器的显著加速效果。

提出的方法

  • 该框架使用软粗粒度可重构数组(SCGRA)叠加层作为FPGA上的可配置硬件基础。
  • 它根据高层资源约束自动调整架构参数,如阵列尺寸、数据路径宽度和内存层次结构。
  • 该方法联合优化高层编译选项,包括循环分块、流水线处理和并行化策略。
  • 它集成了优化后的主机-加速器通信协议,以减少数据传输开销。
  • 定制过程由一个搜索空间探索引擎驱动,用于评估性能和资源使用情况。
  • 该框架从高层C语言风格代码自动生成完整且优化的加速器设计,仅需极少的人工干预。

实验结果

研究问题

  • RQ1如何通过FPGA叠加架构的自动定制来提升嵌套循环工作负载的性能?
  • RQ2联合优化架构参数、编译选项和通信对加速器性能有何影响?
  • RQ3自动定制能否在非定制化基线和纯软件执行基础上实现显著的加速?
  • RQ4在运行时间和资源使用方面,定制过程的性能开销是多少?
  • RQ5该框架在不同资源约束下,对多样化嵌套循环应用的可扩展性如何?

主要发现

  • 与同一框架生成的非定制化基线加速器相比,该框架实现了最高5倍的额外加速。
  • 与Zedboard上主机ARM处理器上的软件执行相比,优化后的加速器实现了最高10倍的加速。
  • 定制过程平均仅需额外10至20分钟的运行时间,表明开销极低。
  • 性能提升得益于SCGRA架构、编译参数和主机处理器通信的联合优化。
  • 结果证实,自动定制显著改善了FPGA加速中性能与开销之间的权衡。
  • 该框架能有效处理多样化的嵌套循环工作负载,并在多个应用中实现一致的性能提升。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。