Changes between Version 10 and Version 11 of OpenCLTransformation


Ignore:
Timestamp:
08/06/14 14:53:51 (12 years ago)
Author:
fuufusuu
Comment:

--

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.
    23{{{
    34typedef struct
     
    78}}}
    89
     10* 'args': holds the arguments, the kernel method to be executed, and data pertaining to local, global, and workgroup ids.
     11
     12{{{
     13typedef 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===
    926input = clCreateBuffer(context,  CL_MEM_READ_ONLY,  sizeof(float) * count, NULL, NULL);
    1027