Creates an OpenCL environment, and then performs a vector addition on the GPU.
More...
|
| vecAdd (const std::string &kernel_filename) |
|
void | run () |
| Prepares the buffers, initializes the data, and executes the kernels.
|
|
Creates an OpenCL environment, and then performs a vector addition on the GPU.
vecAdd::vecAdd |
( |
const std::string & |
kernel_filename | ) |
|
- Parameters
-
[in] | kernel_filename | a 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: