2D arrays in kernels.

Discussion created by ankurdh on Feb 4, 2010
Latest reply on Feb 6, 2010 by ankurdh

Is it not possible to use a 2D array in a kernel?

like say. .

outputArr[globIdY]  [  x ]= inputArr1[globIdX] [ x ] * inputArr2[globIdX] [ x ];



when i compile it with clc, i get error in the second square brace saying the value must be a pointer-to-object.