arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1408.4969cs.DCcs.SYeess.SY
收藏

面向CPU-FPGA平台的自动混合软硬件流水线构建器

An Automatic Mixed Software Hardware Pipeline Builder for CPU-FPGA Platforms

Graduate School of Science and Technology, Keio University(庆应义塾大学理工学部);Department of Electrical and Electronic Engineering, Imperial College London(帝国理工学院电气电子工程系)

Takaaki Miyajima, David Thomas, Hideharu Amano

AI总结:

本文提出一种自动构建CPU-FPGA混合软硬件流水线的工具链,通过动态替换二进制中的函数实现加速,无需用户干预或代码修改,实验显示可提升15.36倍性能。

摘要:

我们的工具链Courier-FPGA旨在利用CPU-FPGA平台的处理能力,为软件程序员和非专家用户提供加速服务。它通过运行目标二进制获取库函数的运行时信息,构建包含输入输出数据的功能调用图。然后,若这些功能适用于FPGA,则使用预定义的硬件模块,并通过Pipeline Generator在CPU上准备软件功能。Pipeline Generator利用Intel Threading Building Block构建流水控制程序,使硬件模块和软件功能并行运行。最后,Courier-FPGA动态替换二进制中的原始函数,通过构建的流水线加速应用。Courier-FPGA在无需用户干预、源代码修改或二进制重新编译的情况下完成加速过程。本文描述了在CPU-FPGA平台上的混合软硬件流水线技术细节。在我们的案例研究中,Courier-FPGA被用于加速基于Harris-Stephens方法的角点检测应用二进制,在Zynq平台上实现了一系列功能卸载,并通过构建的流水线实现了15.36倍的加速。

英文摘要:

Our toolchain for accelerating application called Courier-FPGA, is designed for utilize the processing power of CPU-FPGA platforms for software programmers and non-expert users. It automatically gathers runtime information of library functions from a running target binary, and constructs the function call graph including input-output data. Then, it uses corresponding predefined hardware modules if these are ready for FPGA and prepares software functions on CPU by using Pipeline Generator. The Pipeline Generator builds a pipeline control program by using Intel Threading Building Block to run both hardware modules and software functions in parallel. Finally, Courier-FPGA dynamically replaces the original functions in the binary and accelerates it by using the built pipeline. Courier-FPGA performs these acceleration processes without user intervention, source code tweaks or re-compilations of the binary. We describe the technical details of this mixed software hardware pipeline on CPU-FPGA platforms in this paper. In our case study, Courier-FPGA was used to accelerate a corner detection using the Harris-Stephens method application binary on the Zynq platform. A series of functions were off-loaded, and speed up 15.36 times was achieved by using the built pipeline.

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

↑