Hi,

I need to use OpenCL subbuffers but it seems that OpenCL does not allows to do 2D subbuffers?
It only allows to do subbuffers with consecutive memory. Am I wrong?

For instance,

We can do 4 subbuffers: WWWWXXXXYYYYZZZZ

But we cannot do 4 2D subbuffers:

WWWW X X X X
WWWW X X X X
WWWW X X X X
WWWW X X X X
Y Y Y Y Z Z Z Z
Y Y Y Y Z Z Z Z
Y Y Y Y Z Z Z Z
Y Y Y Y Z Z Z Z

Thank you in advance