cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
834 Discussions

OpenCL Vector Addition Design Example with Double Buffering

OpenCL Vector Addition Design Example with Double Buffering


Overview

To optimize OpenCL host code, a data transfer often should be operated during a kernel running. In this page I will introduce some sample implementation to show you how to use double buffering techniques using Vector Addition design example in www.altera.com.


Profiler.png (Click here for image)

Features

  • Basic OpenCL API
  • Multiple defvice partitioning
  • OpenCL events and event profiling

Requirements

  • Linux/Windows
  • Quartus Prime v16.0
  • Altera SDK for OpenCL v16.0

How to install

Just extract the tarball in some work directory.

How to run

$ cd vector_add

$ aoc device/vector_add.cl -o bin/vector_add.aocx --board xxx

$ make

$ bin/host

$ aocl report bin/profile.mon bin/vector_add.aocx

Download

Link to download the project and application File:Dbuf.tar.gz

History

June 20, 2016 - Created this page

Attachments
Version history
Last update:
‎06-26-2019 05:44 PM
Updated by:
Contributors