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

Method ClientWait

tensorflow/lite/delegates/gpu/cl/egl_sync.cc:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58Status EglSync::ClientWait() {
59 EGLint result;
60 // TODO(akulik): make it active wait for better performance
61 RETURN_IF_ERROR(TFLITE_GPU_CALL_EGL(eglClientWaitSyncKHR, &result, display_,
62 sync_, EGL_SYNC_FLUSH_COMMANDS_BIT_KHR,
63 EGL_FOREVER_KHR));
64 return result == EGL_CONDITION_SATISFIED_KHR
65 ? OkStatus()
66 : InternalError("eglClientWaitSync failed");
67}
68
69} // namespace cl
70} // namespace gpu

Callers 1

StartMethod · 0.80

Calls 2

OkStatusFunction · 0.85
InternalErrorFunction · 0.50

Tested by

no test coverage detected