The functionality described in this section requires
support for OpenCL C 2.0, or OpenCL C 3.0 or newer and the
This section describes built-in functions that allow a kernel to enqueue additional work to the same device, without host interaction. A kernel may enqueue code represented by Block syntax, and control execution order with event dependencies including user events and markers. There are several advantages to using the Block syntax: it is more compact; it does not require a cl_kernel object; and enqueuing can be done as a single semantic step.
The following table describes the list of built-in functions that can be used to enqueue a kernel(s).
CLK_NULL_EVENT refers to an invalid device event.
CLK_NULL_QUEUE refers to an invalid device queue.
For more information, see the OpenCL C Specification
This page is extracted from the OpenCL C Specification. Fixes and changes should be made to the Specification, not directly.