event exec_1d(command_queue &queue,
size_t global_work_offset,
- size_t global_work_size)
+ size_t global_work_size,
+ const wait_list &events = wait_list())
{
const context &context = queue.get_context();
kernel,
global_work_offset,
global_work_size,
- 0
+ 0,
+ events
);
}
event exec_1d(command_queue &queue,
size_t global_work_offset,
size_t global_work_size,
- size_t local_work_size)
+ size_t local_work_size,
+ const wait_list &events = wait_list())
{
const context &context = queue.get_context();
kernel,
global_work_offset,
global_work_size,
- local_work_size
+ local_work_size,
+ events
);
}