首页> 外国专利> Method for improving OpenCL hardware execution efficiency

Method for improving OpenCL hardware execution efficiency

机译:提高OpenCL硬件执行效率的方法

摘要

A method for improving OpenCL hardware execution efficiency described in this invention comprises the following steps: compiling a kernel implemented in OpenCL, generating Verilog code with a high-level synthesis tool; analyzing the interfaces of auto-generated Verilog code, recording signals, timing sequence, and function of the interfaces; manually modifying and optimizing the Verilog code; inserting a file replacement command in the script responsible for flow control, replacing the auto-generated code with the optimized Verilog code; rerunning OpenCL compiler and generating an ultimate FPGA configuration file. The invention makes manual optimization of the auto-generated Verilog code becomes possible, by parsing the compilation flow of OpenCL environment and analyzing the structure and interfaces of the auto-generated Verilog code. It promotes the performance of kernels, by increasing working frequency, achieving more parallelism and taking full advantages of FPGA hardware resources, and improves the execution efficiency of OpenCL on FPGA platform significantly.
机译:本发明描述的一种提高OpenCL硬件执行效率的方法,包括以下步骤:编译在OpenCL中实现的内核,用高级综合工具生成Verilog代码。分析自动生成的Verilog代码的接口,记录信号,时序和接口功能;手动修改和优化Verilog代码;在负责流控制的脚本中插入文件替换命令,用优化的Verilog代码替换自动生成的代码;重新运行OpenCL编译器并生成最终的FPGA配置文件。通过解析OpenCL环境的编译流程并分析自动生成的Verilog代码的结构和接口,本发明使得自动生成的Verilog代码的手动优化成为可能。它通过提高工作频率,实现更多的并行性并充分利用FPGA硬件资源来提高内核的性能,并显着提高OpenCL在FPGA平台上的执行效率。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号