ocl: fix build

pull/9604/head
Alexander Alekhin 7 years ago committed by Alexander Alekhin
parent 1283d62e49
commit e5890fc92a
  1. 17
      modules/core/src/ocl_deprecated.hpp

@ -759,7 +759,7 @@ 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,
@ -767,7 +767,7 @@ OCL_FUNC(cl_int, clGetCommandQueueInfo,
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…
Cancel
Save