Efficient compilation of CUDA kernels for high-performance computing on FPGAs
Authors:
Open Access
- 30 September 2013
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 13 (2) , 1-26
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.Keywords
This publication has 14 references indexed in Scilit:
- High-Level Synthesis for FPGAs: From Prototyping to DeploymentIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2011
- OpenRCL: Low-Power High-Performance Computing with Reconfigurable Devices2010
- Fpga-based face detection system using Haar classifiers2009
- High-performance, energy-efficient platforms using in-socket FPGA accelerators2009
- Optimus2008
- Liquid Metal: Object-Oriented Programming Across the Hardware/Software BoundaryLecture Notes in Computer Science, 2008
- Accelerating Compute-Intensive Applications with GPUs and FPGAs2008
- Lithographic aerial image simulation with FPGA-based hardwareacceleration2008
- Coordinated parallelizing compiler optimizations and high-level synthesisACM Transactions on Design Automation of Electronic Systems, 2004
- Automatic mapping of C to FPGAs with the DEFACTO compilation and synthesis systemMicroprocessors and Microsystems, 2004