Hi,
i've the following kernel, i call it with a 5x5 inputstream, but in the resultstream every value is zero? What is wrong with this kernel i want the first row to be set to 6.0
kernel void twopi(double input<>, out double out_result<>
{
int index = instance().y;
out_result = ((index==0)?6.0:1.0);
}