Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dtensor.cc219 const bool memory_owner = memory == nullptr; in CreateTensor() local
220 if (memory_owner) { in CreateTensor()
232 *result = Tensor(memory, memory_owner, image_memory, shape, descriptor); in CreateTensor()
234 *result = Tensor(memory, memory_owner, shape, descriptor); in CreateTensor()
242 const bool memory_owner = false; in CreateTensorShared() local
249 *result = Tensor(memory, memory_owner, image_memory, shape, descriptor); in CreateTensorShared()
251 *result = Tensor(memory, memory_owner, shape, descriptor); in CreateTensorShared()
258 Tensor::Tensor(cl_mem memory, bool memory_owner, const BHWC& shape, in Tensor() argument
262 memory_owner_(memory_owner), in Tensor()
266 Tensor::Tensor(cl_mem memory, bool memory_owner, const BHWDC& shape, in Tensor() argument
[all …]
Dtensor.h44 Tensor(cl_mem memory, bool memory_owner, const BHWC& shape,
46 Tensor(cl_mem memory, bool memory_owner, const BHWDC& shape,
48 Tensor(cl_mem memory, bool memory_owner, cl_mem image_buffer_memory,
50 Tensor(cl_mem memory, bool memory_owner, cl_mem image_buffer_memory,
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_spatial_tensor.cc158 const bool memory_owner = !user_provided; in CreateTensor() local
159 if (memory_owner) { in CreateTensor()
164 *result = MetalSpatialTensor(buffer, texture, memory_owner, memory_owner, in CreateTensor()
172 bool memory_owner, in MetalSpatialTensor() argument
178 memory_owner_(memory_owner), in MetalSpatialTensor()
185 bool memory_owner, in MetalSpatialTensor() argument
191 memory_owner_(memory_owner), in MetalSpatialTensor()
Dmetal_spatial_tensor.h39 bool memory_owner, bool texture_mem_owner,
42 bool memory_owner, bool texture_mem_owner,