首页    期刊浏览 2024年12月02日 星期一
登录注册

文章基本信息

  • 标题:Automatic Pipelining and Vectorization of Scientific Code for FPGAs
  • 本地全文:下载
  • 作者:Syed Waqar Nabi ; Wim Vanderbauwhede
  • 期刊名称:International Journal of Reconfigurable Computing
  • 印刷版ISSN:1687-7195
  • 电子版ISSN:1687-7209
  • 出版年度:2019
  • 卷号:2019
  • 页码:1-13
  • DOI:10.1155/2019/7348013
  • 出版社:Hindawi Publishing Corporation
  • 摘要: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.2× performance improvement over baseline OpenCL code.
国家哲学社会科学文献中心版权所有