| 133 | } |
| 134 | |
| 135 | std::shared_ptr<opencl_function::arg_handler> opencl_function::create_arg_handler(const device_queue& cqueue) const { |
| 136 | auto handler = std::make_shared<arg_handler>(); |
| 137 | handler->cqueue = &cqueue; |
| 138 | handler->device = &cqueue.get_device(); |
| 139 | handler->needs_param_workaround = handler->device->param_workaround; |
| 140 | return handler; |
| 141 | } |
| 142 | |
| 143 | void opencl_function::set_const_function_argument(uint32_t& total_idx, uint32_t& arg_idx, arg_handler* handler, const opencl_function_entry& entry, |
| 144 | void* arg, const size_t arg_size) const { |
nothing calls this directly
no test coverage detected