Skip to main content
QUICK REVIEW

[Paper Review] High Performance Computing with FPGAs and OpenCL

Hamid Reza Zohouri|arXiv (Cornell University)|Oct 23, 2018
Parallel Computing and Optimization TechniquesComputer Science58 references10 citations
TL;DR

This paper demonstrates that FPGAs accelerated via OpenCL and High-Level Synthesis can outperform CPUs and GPUs in high-performance computing (HPC), particularly for stencil computations. By combining spatial and temporal blocking, the authors achieve the highest single-FPGA performance to date for 2D and 3D stencils of any order, with superior power efficiency and scalability across workloads.

ABSTRACT

In this work we evaluate the potential of FPGAs for accelerating HPC workloads as a more power-efficient alternative to GPUs. Using High-Level Synthesis and a large set of optimization techniques, we show that FPGAs can achieve better performance than CPUs, and better power efficiency than both CPUs and GPUs for typical HPC workloads. Furthermore, we show that for the specific case of stencil computation, the unique architectural advantages of FPGAs allow them to surpass high-end CPU, Xeon Phi and GPU devices. Unlike previous work, our FPGA-based stencil accelerator combines spatial blocking with temporal blocking to achieve high performance without restricting input size. With support for high-order stencils, we achieve the highest single-FPGA performance for 2D and 3D stencil computation of any order, to this day.

Motivation & Objective

  • To evaluate FPGAs as a power-efficient alternative to GPUs and CPUs for HPC workloads.
  • To overcome the limitations of prior FPGA accelerators that restricted input size or stencil order.
  • To develop a high-performance, scalable FPGA-based accelerator for stencil computations using OpenCL and High-Level Synthesis.
  • To achieve superior performance and energy efficiency compared to state-of-the-art CPU, GPU, and Xeon Phi devices.
  • To support high-order stencils without input size constraints, enabling broader HPC applicability.

Proposed method

  • Employed High-Level Synthesis (HLS) to generate FPGA hardware from OpenCL kernels, enabling rapid prototyping and portability.
  • Implemented a hybrid memory access strategy combining on-chip block RAM and off-chip DDR memory to optimize data locality.
  • Applied spatial blocking to partition the computational domain into tiles that fit within on-chip memory, reducing off-chip memory access.
  • Integrated temporal blocking to reuse data across multiple operations within the same tile, minimizing redundant memory transfers.
  • Designed a pipelined, parallel architecture for stencil computation that exploits data-level parallelism and high arithmetic intensity.
  • Used OpenCL kernels to express the algorithm with explicit control over data movement and memory hierarchy, enabling fine-grained optimization.

Experimental results

Research questions

  • RQ1Can FPGAs achieve higher performance and better power efficiency than CPUs and GPUs for typical HPC workloads?
  • RQ2How does combining spatial and temporal blocking improve FPGA performance for stencil computations without input size restrictions?
  • RQ3To what extent can FPGAs outperform high-end CPUs, Xeon Phi, and GPUs in 2D and 3D stencil computations of varying orders?
  • RQ4What are the performance and energy efficiency gains when using OpenCL and HLS for FPGA acceleration in HPC?
  • RQ5Can a single FPGA accelerator handle high-order stencils efficiently across different problem sizes?

Key findings

  • The FPGA accelerator achieved the highest single-FPGA performance reported to date for 2D and 3D stencil computations of any order.
  • For 2D and 3D stencils, the FPGA outperformed high-end CPUs, Xeon Phi, and GPU devices in both performance and energy efficiency.
  • The combination of spatial and temporal blocking enabled high performance without constraining input size, a key limitation in prior FPGA accelerators.
  • The design achieved superior energy efficiency, demonstrating FPGAs as a more power-efficient alternative to GPUs and CPUs for HPC workloads.
  • The OpenCL-based HLS approach enabled rapid development and portability while achieving competitive performance on complex stencil kernels.
  • The accelerator supported high-order stencils effectively, enabling broader applicability to scientific computing workloads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.