Searched refs:OpenClTexture (Results 1 – 4 of 4) sorted by relevance
106 struct OpenClTexture { struct107 OpenClTexture() = default;108 explicit OpenClTexture(cl_mem new_memobj) : memobj(new_memobj) {} in OpenClTexture() function233 OpenClBuffer, OpenClTexture, VulkanBuffer, VulkanTexture>;
31 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()
101 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()
202 external_obj_ = OpenClTexture{cl_memory_.memory()}; in MaybeAllocateExternalObject()380 return OpenClTexture{tensor.GetMemoryPtr()}; in TensorToObj()