Skip to content

Latest commit

 

History

History

Exercise02

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Exercise 2 - Running the Vadd kernel

Goal

  • To inspect and verify that you can run an OpenCL kernel.

Procedure

  • Take the C Vadd program we provide you. It will run a simple kernel to add two vectors together.
  • Look at the host code and identify the API calls in the host code. Compare them against the API descriptions on the OpenCL reference card.
  • There are some helper files which time the execution, output device information neatly and check errors.

Expected output

  • A message verifying that the vector addition completed successfully.