Home
last modified time | relevance | path

Searched refs:bytes_size_ (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_buffer.h45 bytes_size_(bytes_size), in GlBuffer()
92 size_t bytes_size() const { return bytes_size_; } in bytes_size()
111 size_t bytes_size_; variable
287 if (data.size() * sizeof(T) > bytes_size_) { in Write()
292 return TFLITE_GPU_CALL_GL(glBufferSubData, target_, offset_, bytes_size_, in Write()
299 if (bytes_size_ % sizeof(T) != 0) { in MappedRead()
303 gl_buffer_internal::BufferMapper mapper(target_, offset_, bytes_size_, in MappedRead()
309 bytes_size_ / sizeof(T))); in MappedRead()
315 if (bytes_size_ % sizeof(T) != 0) { in MappedWrite()
319 gl_buffer_internal::BufferMapper mapper(target_, offset_, bytes_size_, in MappedWrite()
[all …]
Dgl_buffer.cc51 : GlBuffer(buffer.target_, buffer.id_, buffer.bytes_size_, buffer.offset_, in GlBuffer()
61 bytes_size_ = buffer.bytes_size_; in operator =()
81 bytes_size_); in BindToIndex()
86 if (offset + bytes_size > bytes_size_) { in MakeView()
95 return GlBuffer(target_, id_, bytes_size_, offset_, in MakeRef()
Dgl_texture.h47 bytes_size_(bytes_size), in GlTexture()
81 size_t bytes_size() const { return bytes_size_; } in bytes_size()
95 size_t bytes_size_; variable
Dgl_texture.cc31 texture.bytes_size_, texture.layer_, texture.owned_) { in GlTexture()
41 bytes_size_ = texture.bytes_size_; in operator =()