Can i use clEnqueueReadBufferRect to copy the column

Hi,

I have 4x4 matrix:


1 2 3 4
1 2 3 4
1 2 3 4
1 2 3 4

Can I copy the forth column from the matrix using clEnqueueReadBufferRect, so that the result array would contain:

4 4 4 4

?

And can I copy this column to other 4x4 matrix using this function:


1 2 3 4     0 0 0 4
1 2 3 4 ->  0 0 0 4
1 2 3 4     0 0 0 4
1 2 3 4     0 0 0 4

?