title: Multidimensional array in openCL with no shared memory?
body: <p>Hello I am fairly new to openCL and have encountered a problem when trying to index my multidimensional arrays. From what I understand it is not possible to store a multidimensional array in the global memory, but it is possible in the local memory. However when I try to access my 2D local array it always comes back as 0.I had a look at my gpu at <a href="http://www.notebookcheck.net/NVIDIA-GeForce-GT-635M.66964.0.html" rel="nofollow">http://www.notebookcheck.net/NVIDIA-GeForce-GT-635M.66964.0.html</a> and found out that I had 0 shared memory, could this be the reason? What other limitations will 0 shared memory place on my programming experience? 
  I've posted a small simple program of the problem that I'm facing. 
  The input is = [1,2,3,4] and I would like to store this in my 2D array. </p>
  
  <pre><code>    __kernel void kernel(__global float *input, __global float *output) 
       {//the input is [1,2,3,4];
        int size=2;//2by2 matrix
        int idx = get_global_id(0);
        int idy = get_global_id(1);
  
        __local float 2Darray[2][2];
        2Darray[idx][idy]=input[idx*size+idy];
        output[0]=2Darray[1][1];//this always returns 0, but should return 4 on the first output no?
       }
  </code></pre>