Home
last modified time | relevance | path

Searched refs:CLMemory (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_memory.h30 class CLMemory {
33 CLMemory() : CLMemory(nullptr, false) {} in CLMemory() function
35 CLMemory(cl_mem memory, bool has_ownership) in CLMemory() function
39 CLMemory(const CLMemory&) = delete;
40 CLMemory& operator=(const CLMemory&) = delete;
41 CLMemory(CLMemory&& image) in CLMemory() function
46 ~CLMemory() { Invalidate(); } in ~CLMemory()
48 CLMemory& operator=(CLMemory&& image) {
Dtensor.cc35 const void* data_ptr, CLMemory* result) { in AllocateTensorMemory()
54 *result = CLMemory(memory, true); in AllocateTensorMemory()
83 *result = CLMemory(memory, true); in AllocateTensorMemory()
112 *result = CLMemory(memory, true); in AllocateTensorMemory()
142 *result = CLMemory(memory, true); in AllocateTensorMemory()
183 *result = CLMemory(memory, true); in AllocateTensorMemory()
221 CLMemory mem; in CreateTensor()
608 CLMemory memory; in CreateFromDescriptor()
652 CLMemory* result) { in AllocateTensorMemory()
659 CLMemory* result) { in AllocateTensorMemory()
Dgl_interop.cc97 CLContext* context, CLMemory* memory) { in CreateClMemoryFromGlBuffer()
106 *memory = CLMemory(mem, true); in CreateClMemoryFromGlBuffer()
113 CLContext* context, CLMemory* memory) { in CreateClMemoryFromGlTexture()
123 *memory = CLMemory(mem, true); in CreateClMemoryFromGlTexture()
Dgl_interop.h63 CLContext* context, CLMemory* memory);
69 CLContext* context, CLMemory* memory);
Dtensor.h122 CLMemory* result);
126 CLMemory* result);
Dapi.cc216 CLMemory cl_memory_;
365 CLMemory cl_object_;
/external/angle/src/
DlibGLESv2.gni466 "src/libANGLE/CLMemory.h",
497 "src/libANGLE/CLMemory.cpp",