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

Method OpenclWriteCommand

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

Source from the content-addressed store, hash-verified

85}
86
87OpenclWriteCommand::OpenclWriteCommand(cl_mem buffer, cl_bool blocking_write,
88 size_t offset, size_t size, const void *ptr,
89 cl_uint num_events_in_wait_list,
90 const cl_event *event_wait_list, cl_event *event)
91 : buffer_(buffer), blocking_write_(blocking_write), offset_(offset), size_(size), ptr_(ptr)
92 , num_events_in_wait_list_(num_events_in_wait_list)
93 , event_wait_list_(event_wait_list), event_(event) {}
94
95cl_int OpenclWriteCommand::Launch(cl_command_queue cmdq)
96{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected