OpenCL (Has CUDA restrictions?)

Hello there.

Only curiousity, can somebody can tell me if OpenCL has the same restrictions that CUDA has (recursive methods, variable parameters, …)?

's John.

I missed something?

Yes, OpenCL is based on the same technology as C for CUDA and so has mostly the same restrictions.

You can read the specification for more details.
[url=“http://www.khronos.org/registry/cl/specs/opencl-1.0.33.pdf”]http://www.khronos.org/registry/cl/specs/opencl-1.0.33.pdf[/url]