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

Method ~BufferId

tensorflow/lite/delegates/gpu/gl/gl_buffer.h:188–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 explicit BufferId(GLuint id) : id_(id) {}
187
188 ~BufferId() {
189 if (id_ != GL_INVALID_INDEX) {
190 TFLITE_GPU_CALL_GL(glDeleteBuffers, 1, &id_).IgnoreError();
191 }
192 }
193
194 GLuint id() const { return id_; }
195

Callers

nothing calls this directly

Calls 1

IgnoreErrorMethod · 0.45

Tested by

no test coverage detected