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

Function CreateNewProgramId

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

Source from the content-addressed store, hash-verified

30namespace {
31
32Status CreateNewProgramId(GLuint* program_id) {
33 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glCreateProgram, program_id));
34 if (!*program_id) {
35 return UnknownError("Can't create opengl program: 0 program_id");
36 }
37 return OkStatus();
38}
39
40Status CheckProgramLinked(GLuint program_id) {
41 GLint linked;

Callers 2

CreateWithShaderMethod · 0.85

Calls 2

OkStatusFunction · 0.85
UnknownErrorFunction · 0.50

Tested by

no test coverage detected