| 34 | } |
| 35 | |
| 36 | void device_queue::kernel_execute_forwarder(const device_function& kernel, |
| 37 | const bool is_cooperative, |
| 38 | const bool wait_until_completion, |
| 39 | const uint1& global_size, const uint1& local_size, |
| 40 | kernel_completion_handler_f&& completion_handler, |
| 41 | const std::vector<device_function_arg>& args) const { |
| 42 | kernel.execute(*this, is_cooperative, wait_until_completion, 1, uint3 { global_size }, uint3 { local_size }, args, |
| 43 | {}, {}, nullptr, std::forward<kernel_completion_handler_f>(completion_handler)); |
| 44 | } |
| 45 | |
| 46 | void device_queue::kernel_execute_forwarder(const device_function& kernel, |
| 47 | const bool is_cooperative, |