Does CUDA support recursion?
In CUDA 4.1 release CUDA supports recursion only for __device__ function but not for __global__ function.