AnsweredAssumed Answered

clEnqueueWriteImage

Question asked by sajis997 on Jun 1, 2013
Latest reply on Jun 24, 2013 by himanshu.gautam

Hi forum,

 

I created a 3D buffer using the clCreateImage3D(...) and then using the clEnqueueWriteImage(...) to copy the host memory to the device buffer.

 

I am confused abut the computation of the input_slice_pitch value. The spec says that the value must be greater or equal to row_pitch * height.

 

How to calculate the optimal value of  input_slice_pitch ?

 

 

Regards

Sajjadul

Outcomes