Hi ,

I need to copy the raw image contents to the OpenCL 3D image object that i have already created.

And i am confused about the calculation of the input_slice_pitch as need to be mentioned as one of the clEnqueueWriteImage(....)'s function parameter.

How to calculate the optimum value for this "input_slice_pitch" ?


Regards
Sajjadul