I need in a kernel to allocate a local memory zone :
__local int chunck[get_local_size(0)];
Unfortunately, it is forbidden.
So, what is the best way to do this ?
Remarks: I think that it is simple to allocate a buffer on the host side and declare it local in the kernel. Right ?