MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / EnqueueEvent

Method EnqueueEvent

tensorflow/lite/delegates/gpu/cl/cl_command_queue.cc:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92Status CLCommandQueue::EnqueueEvent(CLEvent* event) {
93 cl_event resulting_event;
94 const int error_code = clEnqueueMarker(queue_, &resulting_event);
95 *event = CLEvent(resulting_event);
96 if (error_code != CL_SUCCESS) {
97 return UnknownError(absl::StrCat("Failed to clEnqueueMarker - ",
98 CLErrorCodeToString(error_code)));
99 }
100 return OkStatus();
101}
102
103Status CLCommandQueue::EnqueueWriteImage(cl_mem memory, int3 region,
104 const void* data) {

Callers 1

AddToQueueMethod · 0.80

Calls 5

CLEventClass · 0.85
CLErrorCodeToStringFunction · 0.85
OkStatusFunction · 0.85
UnknownErrorFunction · 0.50
StrCatFunction · 0.50

Tested by

no test coverage detected