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

Method Dispatch

tensorflow/lite/delegates/gpu/gl/gl_program.cc:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211Status GlProgram::Dispatch(const uint3& workgroups) const {
212 if (workgroups.x == 0 || workgroups.y == 0 || workgroups.z == 0) {
213 return InvalidArgumentError("Invalid workgroups");
214 }
215 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glUseProgram, id_));
216 return TFLITE_GPU_CALL_GL(glDispatchCompute, workgroups.x, workgroups.y,
217 workgroups.z);
218}
219
220} // namespace gl
221} // namespace gpu

Callers 4

ExecuteMethod · 0.45
WaitMethod · 0.45
ConvertMethod · 0.45
ConvertMethod · 0.45

Calls 1

InvalidArgumentErrorFunction · 0.50

Tested by

no test coverage detected