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

Method WaitForCompletion

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

Source from the content-addressed store, hash-verified

159}
160
161Status CLCommandQueue::WaitForCompletion() {
162 auto error_code = clFinish(queue_);
163 if (error_code != CL_SUCCESS) {
164 return UnknownError(
165 absl::StrCat("Failed to clFinish - ", CLErrorCodeToString(error_code)));
166 }
167 return OkStatus();
168}
169
170ProfilingCommandQueue::ProfilingCommandQueue(cl_command_queue queue)
171 : CLCommandQueue(queue) {

Callers 3

InvokeMethod · 0.45
ProfileMethod · 0.45
ExecuteGPUOperationFunction · 0.45

Calls 4

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

Tested by 1

ExecuteGPUOperationFunction · 0.36