Community
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Revision #:
1 of 1
Last update:
‎06-26-2019 05:44 PM
Updated by:
 
Contributors