Parameters

command_queue

A valid command-queue.

num_events

Specifies the number of events given by event_list.

event_list

Events specified in event_list act as synchronization points. The context associated
with events in event_list and command_queue must be the same.
Each event in event_list must be a valid event object returned by a previous call
to the following: