bubu

array in kernel

Discussion created by bubu on Jun 7, 2010
Latest reply on Jun 13, 2010 by bubu

What happens when I do this, pls?

 

__kernel void main ()

{

   int myArray[60];

}

 

Is myArray stored in local memory? global memory? private local memory?

I use a 256x128 grid with 16x4 workgroups.

thx

Outcomes