Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/
Dapi.h106 struct OpenClTexture { struct
107 OpenClTexture() = default;
108 explicit OpenClTexture(cl_mem new_memobj) : memobj(new_memobj) {} in OpenClTexture() function
233 OpenClBuffer, OpenClTexture, VulkanBuffer, VulkanTexture>;
Dapi.cc31 ObjectType operator()(OpenClTexture) const { in operator ()()
50 bool operator()(OpenClTexture obj) const { return obj.memobj; } in operator ()()
91 return absl::holds_alternative<OpenClTexture>(obj); in IsObjectPresent()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Dconverter.cc101 auto texture = absl::get_if<OpenClTexture>(&obj); in GetOpenCLMemory()
428 auto texture_input = absl::get_if<OpenClTexture>(&input_obj); in Convert()
429 auto texture_output = absl::get_if<OpenClTexture>(&output_obj); in Convert()
452 absl::Status Copy(const OpenClTexture& input, const OpenClTexture& output) { in Copy()
494 auto texture_output = absl::get_if<OpenClTexture>(&output_obj); in Convert()
506 auto texture_input = absl::get_if<OpenClTexture>(&input_obj); in Convert()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dapi.cc202 external_obj_ = OpenClTexture{cl_memory_.memory()}; in MaybeAllocateExternalObject()
380 return OpenClTexture{tensor.GetMemoryPtr()}; in TensorToObj()