cl_int
clEnqueueBarrier
(
| cl_command_queue command_queue) |
clEnqueueBarrier
is a synchronization point that ensures that all
queued commands in command_queue
have finished execution before the next
batch of commands can begin execution.
Returns CL_SUCCESS if the function was successfully executed, or one of the errors below:
command_queue
is not a valid command-queue.
clEnqueueMarker, clEnqueueWaitForEvents, clSetCommandQueueProperty, clEnqueueNDRangeKernel, clEnqueueNativeKernel