enliten

cl_mem buffer handler in OpenCL

Discussion created by enliten on Jan 17, 2011
Latest reply on Jan 19, 2011 by himanshu.gautam

 

I am trying to do simple pointer arithmetic on OpenCL like:

cl_mem obj1;

...

obj1=obj1+10; // Does not work as it gives following error:

error: invalid use of incomplete type ‘struct _cl_mem’

 

Ho can I achieve this behavior in OpenCL as I could not find much in OpenCL Specifications as well? 

 



Outcomes