Changes between Version 10 and Version 11 of OpenCLTransformation
- Timestamp:
- 08/06/14 14:53:51 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenCLTransformation
v10 v11 1 * 'args' : a struct containing all of the variables that will be passed into a kernel. Uses an array of void pointers. 1 ===OpenCL/CIVL structs=== 2 * 'args' : a struct containing all of the variables that will be passed into a kernel. Uses an array of void pointers. Size determined by number of parameters. 2 3 {{{ 3 4 typedef struct … … 7 8 }}} 8 9 10 * 'args': holds the arguments, the kernel method to be executed, and data pertaining to local, global, and workgroup ids. 11 12 {{{ 13 typedef struct 14 { 15 void * arguments; 16 char * method; 17 int global_id; 18 int local_id; 19 int workgroup; 20 } cl_kernel; 21 }}} 22 23 24 25 ===Methods=== 9 26 input = clCreateBuffer(context, CL_MEM_READ_ONLY, sizeof(float) * count, NULL, NULL); 10 27
