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

Method create_arg_handler

compute/opencl/opencl_kernel.cpp:132–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132shared_ptr<opencl_kernel::arg_handler> opencl_kernel::create_arg_handler(const compute_queue& cqueue) const {
133 auto handler = make_shared<arg_handler>();
134 handler->cqueue = &cqueue;
135 handler->device = &cqueue.get_device();
136 handler->needs_param_workaround = handler->device->param_workaround;
137 return handler;
138}
139
140void opencl_kernel::set_const_kernel_argument(uint32_t& total_idx, uint32_t& arg_idx, arg_handler* handler, const opencl_kernel_entry& entry,
141 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