5

OpenCL doesn't support recursion. CUDA does, but only from a certain version. Initial search indicated RenderScript does support recursion, but I couldn't find anything explicit.

Does RenderScript support recursive function calls?

Community
  • 1
  • 1
Oak
  • 26,231
  • 8
  • 93
  • 152

1 Answers1

11

Yes it does. However, using this will limit a script to processors capable of recursion.

R. Jason Sams
  • 1,469
  • 9
  • 10