Automatic Pipelining and Vectorization of Scientific Code for FPGAs

Joint Authors

Nabi, Syed Waqar
Vanderbauwhede, Wim

Source

International Journal of Reconfigurable Computing

Issue

Vol. 2019, Issue 2019 (31 Dec. 2019), pp.1-12, 12 p.

Publisher

Hindawi Publishing Corporation

Publication Date

2019-11-18

Country of Publication

Egypt

No. of Pages

12

Main Subjects

Information Technology and Computer Science

Abstract EN

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.

American Psychological Association (APA)

Nabi, Syed Waqar& Vanderbauwhede, Wim. 2019. Automatic Pipelining and Vectorization of Scientific Code for FPGAs. International Journal of Reconfigurable Computing،Vol. 2019, no. 2019, pp.1-12.
https://search.emarefa.net/detail/BIM-1168509

Modern Language Association (MLA)

Nabi, Syed Waqar& Vanderbauwhede, Wim. Automatic Pipelining and Vectorization of Scientific Code for FPGAs. International Journal of Reconfigurable Computing No. 2019 (2019), pp.1-12.
https://search.emarefa.net/detail/BIM-1168509

American Medical Association (AMA)

Nabi, Syed Waqar& Vanderbauwhede, Wim. Automatic Pipelining and Vectorization of Scientific Code for FPGAs. International Journal of Reconfigurable Computing. 2019. Vol. 2019, no. 2019, pp.1-12.
https://search.emarefa.net/detail/BIM-1168509

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references

Record ID

BIM-1168509