...
首页> 外文期刊>International journal of reconfigurable computing >Automatic Pipelining and Vectorization of Scientific Code for FPGAs
【24h】

Automatic Pipelining and Vectorization of Scientific Code for FPGAs

机译:FPGA的科学规范自动流水线和矢量化

获取原文
获取原文并翻译 | 示例
           

摘要

There is a large body of legacy scientific code in use today that could benefit from execution on accelerator devices like GPUs and FPGAs. Manual translation of such legacy code into device-specific parallel code requires significant manual effort and is a major obstacle to wider FPGA adoption. We are developing an automated optimizing compiler TyTra to overcome this obstacle. The TyTra flow aims to compile legacy Fortran code automatically for FPGA-based acceleration, while applying suitable optimizations. We present the flow with a focus on two key optimizations, automatic pipelining and vectorization. Our compiler frontend extracts patterns from legacy Fortran code that can be pipelined and vectorized. The backend first creates fine and coarse-grained pipelines and then automatically vectorizes both the memory access and the datapath based on a cost model, generating an OpenCL-HDL hybrid working solution for FPGA targets on the Amazon cloud. Our results show up to 4.2x performance improvement over baseline OpenCL code.
机译:今天使用的大型遗留科学规范可以从加速器设备上的执行中受益,如GPU和FPGA等加速器设备。将这种传统代码的手动翻译成特定于设备的并行代码需要大量的手动努力,并且是更广泛的FPGA采用的主要障碍。我们正在开发自动化优化编译器Tytra来克服这种障碍。 TYTRA流程旨在自动编制遗留FORTRAN代码,以便基于FPGA的加速,同时应用合适的优化。我们展示了专注于两个关键优化,自动流水线和矢量化的流程。我们的编译器前端从传统的Fortran代码中提取模式,可以流水线和矢量化。后端首先创建精细和粗粒化管道,然后根据成本模型自动为内存访问和数据路径,为Amazon云上的FPGA目标生成OpenCL-HDL混合工作解决方案。我们的结果显示,基线OpenCL代码上最高可达4.2倍的性能改进。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号