Efficient compilation of CUDA kernels for high-performance computing on FPGAs

  • Authors:
  • Alexandros Papakonstantinou;Karthik Gururaj;John A. Stratton;Deming Chen;Jason Cong;Wen-Mei W. Hwu

  • Affiliations:
  • University of Illinois at Urbana-Champaign, IL;University of California, Los Angeles, CA;University of Illinois at Urbana-Champaign, IL;University of Illinois at Urbana-Champaign, IL;University of California, Los Angeles, CA;University of Illinois at Urbana-champaign, IL

  • Venue:
  • ACM Transactions on Embedded Computing Systems (TECS) - Special issue on application-specific processors
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

The rise of multicore architectures across all computing domains has opened the door to heterogeneous multiprocessors, where processors of different compute characteristics can be combined to effectively boost the performance per watt of different application kernels. GPUs, in particular, are becoming very popular for speeding up compute-intensive kernels of scientific, imaging, and simulation applications. New programming models that facilitate parallel processing on heterogeneous systems containing GPUs are spreading rapidly in the computing community. By leveraging these investments, the developers of other accelerators have an opportunity to significantly reduce the programming effort by supporting those accelerator models already gaining popularity. In this work, we adapt one such language, the CUDA programming model, into a new FPGA design flow called FCUDA, which efficiently maps the coarse- and fine-grained parallelism exposed in CUDA onto the reconfigurable fabric. Our CUDA-to-FPGA flow employs AutoPilot, an advanced high-level synthesis tool (available from Xilinx) which enables high-abstraction FPGA programming. FCUDA is based on a source-to-source compilation that transforms the SIMT (Single Instruction, Multiple Thread) CUDA code into task-level parallel C code for AutoPilot. We describe the details of our CUDA-to-FPGA flow and demonstrate the highly competitive performance of the resulting customized FPGA multicore accelerators. To the best of our knowledge, this is the first CUDA-to-FPGA flow to demonstrate the applicability and potential advantage of using the CUDA programming model for high-performance computing in FPGAs.