Anon5710

2D buffers

Discussion created by Anon5710 on Nov 23, 2011
Latest reply on Nov 23, 2011 by himanshu.gautam

Hi, i'm trying to learn myself opencl.

I was able te write a vector add opencl program and i would like to do the same thing with a matrix (point by point adding).

I've looked in the spec's for clcreateImage2D however it seems that for 2 int matrixes this is not the way to do it.

Am i right to think that i should still should  use clcreatebuffer and transform my 2 matrixes into 2 longer arrays ?

also some examples regarding ND range workgroup range etc.. would be appriciated i find these concepts to be rather hard.

Outcomes