Kernel Function calls incoherence

Hi everyone!

I’m new in OpenCL World, and right now all I’ve been doing is nothing but research. But I’ve something incoherence with my knowledge and the OpenCL Specs.

During my research i learned that a kernel cannot make a call to other functions, but in spec I’ve found this:

Kernel: A kernel is a function declared in a program and executed on an OpenCL device. A
kernel is identified by the __kernel qualifier applied to any function defined in a program

Can you elucidate me about this?

Thank you very much! :smiley:

Kernels can call any other functions defined in the code you compiler, but on current GPUs these calls are just inlined.