mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +08:00
ocl: fix build
This commit is contained in:
parent
1283d62e49
commit
e5890fc92a
@ -759,15 +759,15 @@ OCL_FUNC_P(cl_mem, clCreateBuffer,
|
||||
|
||||
/*
|
||||
OCL_FUNC(cl_int, clRetainCommandQueue, (cl_command_queue command_queue), (command_queue))
|
||||
|
||||
*/
|
||||
OCL_FUNC(cl_int, clGetCommandQueueInfo,
|
||||
(cl_command_queue command_queue,
|
||||
cl_command_queue_info param_name,
|
||||
size_t param_value_size,
|
||||
void * param_value,
|
||||
size_t * param_value_size_ret),
|
||||
(command_queue, param_name, param_value_size, param_value, param_value_size_ret))
|
||||
|
||||
(cl_command_queue command_queue,
|
||||
cl_command_queue_info param_name,
|
||||
size_t param_value_size,
|
||||
void * param_value,
|
||||
size_t * param_value_size_ret),
|
||||
(command_queue, param_name, param_value_size, param_value, param_value_size_ret))
|
||||
/*
|
||||
OCL_FUNC_P(cl_mem, clCreateSubBuffer,
|
||||
(cl_mem buffer,
|
||||
cl_mem_flags flags,
|
||||
@ -1202,6 +1202,19 @@ OCL_FUNC(cl_int, clSetEventCallback,
|
||||
|
||||
OCL_FUNC(cl_int, clReleaseEvent, (cl_event event), (event))
|
||||
|
||||
OCL_FUNC(cl_int, clWaitForEvents,
|
||||
(cl_uint num_events, const cl_event *event_list),
|
||||
(num_events, event_list))
|
||||
|
||||
|
||||
OCL_FUNC(cl_int, clGetEventProfilingInfo, (
|
||||
cl_event event,
|
||||
cl_profiling_info param_name,
|
||||
size_t param_value_size,
|
||||
void *param_value,
|
||||
size_t *param_value_size_ret),
|
||||
(event, param_name, param_value_size, param_value, param_value_size_ret))
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user