AnsweredAssumed Answered

Want to re-use image

Question asked by boxerab on Jul 17, 2014
Latest reply on Jul 22, 2014 by boxerab

I have created an image via

 

cl_mem preprocessIn = clCreateImage (context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, &format, &desc,rgbaBuffer,&error_code);

 

I would like to keep the preprocessIn image for multiple kernel runs, and just update the host memory buffer rgbaBuffer.

 

Is this possible?

 

Thanks!

Outcomes