MCPcopy Create free account
hub / github.com/a2flo/floor / create_arg_handler

Method create_arg_handler

src/device/opencl/opencl_function.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135std::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
143void 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 {

Callers

nothing calls this directly

Calls 1

get_deviceMethod · 0.80

Tested by

no test coverage detected