CLUtils  0.2.1
 Hosted by GitHub
Public Member Functions | List of all members
vecAdd Class Reference

Creates an OpenCL environment, and then performs a vector addition on the GPU. More...

Public Member Functions

 vecAdd (const std::string &kernel_filename)
 
void run ()
 Prepares the buffers, initializes the data, and executes the kernels.
 

Detailed Description

Creates an OpenCL environment, and then performs a vector addition on the GPU.

Constructor & Destructor Documentation

vecAdd::vecAdd ( const std::string &  kernel_filename)
Parameters
[in]kernel_filenamea string with the kernel file (.cl) that is to be compiled for all devices in the first platform.

The documentation for this class was generated from the following file: