i’m getting some trouble with kernels. The problem is simple: i need to allocate an array of different size for each thread in kernel (so i must dinamically allocate memory). The parameter that decides the size is passed to the kernel.
I was looking throught forums and papers trying to find some information about allocation in kernel, but the documentation is ambiguous and i don’t know how to proceed.