Home
last modified time | relevance | path

Searched refs:has_ownership_ (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_memory.h36 : memory_(memory), has_ownership_(has_ownership) {} in CLMemory()
42 : memory_(image.memory_), has_ownership_(image.has_ownership_) { in CLMemory()
52 has_ownership_ = image.has_ownership_;
63 bool has_ownership() const { return has_ownership_; } in has_ownership()
73 if (memory_ && has_ownership_) { in Invalidate()
80 bool has_ownership_ = false; variable
Dcl_context.cc105 : context_(context), has_ownership_(has_ownership) {} in CLContext()
108 : context_(context.context_), has_ownership_(context.has_ownership_) { in CLContext()
116 has_ownership_ = context.has_ownership_; in operator =()
124 if (has_ownership_ && context_) { in Release()
Dcl_command_queue.cc35 : queue_(queue), has_ownership_(has_ownership) {} in CLCommandQueue()
38 : queue_(queue.queue_), has_ownership_(queue.has_ownership_) { in CLCommandQueue()
46 has_ownership_ = queue.has_ownership_; in operator =()
54 if (has_ownership_ && queue_) { in Release()
Dcl_context.h51 bool has_ownership_ = false; variable
Dcl_command_queue.h75 bool has_ownership_ = false; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Degl_context.cc66 if (has_ownership_) { in Invalidate()
72 has_ownership_ = false; in Invalidate()
79 has_ownership_(other.has_ownership_) { in EglContext()
81 other.has_ownership_ = false; in EglContext()
91 swap(has_ownership_, other.has_ownership_); in operator =()
Dgl_buffer.cc52 buffer.has_ownership_) { in GlBuffer()
53 buffer.has_ownership_ = false; in GlBuffer()
63 has_ownership_ = buffer.has_ownership_; in operator =()
65 buffer.has_ownership_ = false; in operator =()
73 if (has_ownership_ && id_ != GL_INVALID_INDEX) { in Invalidate()
Degl_context.h39 has_ownership_(false) {} in EglContext()
46 has_ownership_(has_ownership) {} in EglContext()
75 bool has_ownership() const { return has_ownership_; } in has_ownership()
84 bool has_ownership_; variable
Dgl_buffer.h47 has_ownership_(has_ownership) {} in GlBuffer()
90 void Release() { has_ownership_ = false; } in Release()
104 bool has_ownership() const { return has_ownership_; } in has_ownership()
113 bool has_ownership_; variable