Developing and Optimizing Applications Using the OpenCL Framework for FPGAs

Learn how to develop new applications written in OpenCL, C/C++, and RTL in the SDAccel development environment for use on Xilinx FPGAs. Porting existing applications is also covered.

This course also demonstrates how to debug and profile OpenCL code using the SDAccel development environment. In addition, you will also learn how to maximize performance and efficiently utilize FPGA resources.

Skills Gained

After completing this comprehensive training, you will know how to:

  • Identify parallel computing applications suitable for accelerating on FPGAs
  • Discover how the FPGA architecture lends itself to parallel computing
  • Write OpenCL programs for FPGAs
  • Examine the OpenCL execution model
  • Analyze the OpenCL memory model
  • Profile and debug OpenCL code using the SDAccel development environment
  • Discover how to maximize performance in FPGA fabric
  • Efficiently utilize FPGA memory resources
  • Utilize the SDAccel development environment
  • Rapidly develop FPGA applications using OpenCL
  • Port programs written in OpenCL for CPUs or GPUs to Xilinx FPGAs

Course Outline

Day 1

  • Introduction to OpenCL
  • Comparison of CPU, GPU, and FPGA Architectures
  • OpenCL Support for Xilinx FPGAs
  • FPGA Hardware Details
  • Introduction to the OpenCL API
  • LAB: Creating an OpenCL Program from Scratch
    Creating an OpenCL Program from Scratch Provides an overview of OpenCL API, memory transfers, and kernel enqueuer operations.
  • OpenCL Execution Model
  • LAB: Vector Addition
    Vector Addition Learn how to execute parallel kernels.
  • Memory Hierarchy
  • Profiling and Debugging
  • LAB: Pi by Monte Carlo Processes
    Pi by Monte Carlo Processes Implement the Pi by Monte Carlo processes.
  • Optimization
  • LAB: Maximizing Performance
    Maximizing Performance Use vector data types and increase bandwidth.
  • LAB: Optimizing Kernels
    Optimizing Kernels Use Loop Unrolling and Loop Pipelining.

Day 2

  • Using the SDAccel Development Environment: Coding, Compiling, Emulating, Profiling, and Debugging
  • LAB: Profiling and Debugging Using the SDAccel Development Environment GUI
    Profiling and Debugging Using the SDAccel Development Environment GUI Learn how to use interactive programming tools to improve performance and squash bugs.
  • Using Existing C/C++ Code as Kernels in OpenCL
  • LAB: Optimizing C/C++ Code for OpenCL
    Optimizing C/C++ Code for OpenCL Convert existing C/C++ code into a kernel that can be used by OpenCL
  • RTL IP as Kernels in OpenCL
  • LAB: Using an RTL Kernel
    Using an RTL Kernel Learn how to use existing, highly optimized IP in a new OpenCL application.

No Scheduled Sessions – Contact Us to ask about setting one up!

Education Investment Options

Standard Registration
Standard Registration
18 Training Credits
Advanced Registration
Advanced Registration
16 Training Credits
Basic Follow-on Coaching
Comprehensive Follow-on Coaching

  • To qualify for the Advanced Registration Price, full payment must be received 21 days prior to the first day of class.
  • Basic follow-on coaching includes 2 hours (max 2 calls)
  • Comprehensive follow-on coaching includes 10 hours (max 5 calls)
  • Follow-on Coaching must be purchased at time of registration.


Training Duration:

2 Days

Who should attend:

Software and hardware developers who want to develop OpenCL, C/C++, and RTL applications in the SDAccel development environment.


Basic knowledge of C/C++

Version: 2021-03-17_0932