| 457 | } |
| 458 | |
| 459 | cl_int clEnqueueNDRangeKernel(cl_command_queue command_queue, |
| 460 | cl_kernel kernel, |
| 461 | cl_uint work_dim, |
| 462 | const size_t *global_work_offset, |
| 463 | const size_t *global_work_size, |
| 464 | const size_t *local_work_size, |
| 465 | cl_uint num_events_in_wait_list, |
| 466 | const cl_event *event_wait_list, |
| 467 | cl_event *event) |
| 468 | { |
| 469 | arm_compute::CLSymbols::get().load_default(); |
| 470 | auto func = arm_compute::CLSymbols::get().clEnqueueNDRangeKernel_ptr; |
| 471 | if (func != nullptr) |
| 472 | { |
| 473 | return func(command_queue, kernel, work_dim, global_work_offset, global_work_size, local_work_size, |
| 474 | num_events_in_wait_list, event_wait_list, event); |
| 475 | } |
| 476 | else |
| 477 | { |
| 478 | return CL_OUT_OF_RESOURCES; |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | cl_int clSetKernelArg(cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void *arg_value) |
| 483 | { |
no test coverage detected