MCPcopy Create free account
hub / github.com/XpuOS/xsched / OpenclReadCommand

Method OpenclReadCommand

platforms/example/hal/src/opencl_command.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73OpenclReadCommand::OpenclReadCommand(cl_mem buffer, cl_bool blocking_read,
74 size_t offset, size_t size, void *ptr,
75 cl_uint num_events_in_wait_list,
76 const cl_event *event_wait_list, cl_event *event)
77 : buffer_(buffer), blocking_read_(blocking_read), offset_(offset), size_(size), ptr_(ptr)
78 , num_events_in_wait_list_(num_events_in_wait_list)
79 , event_wait_list_(event_wait_list), event_(event) {}
80
81cl_int OpenclReadCommand::Launch(cl_command_queue cmdq)
82{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected