Home
last modified time | relevance | path

Searched refs:CLDevice (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_device.h33 class CLDevice {
35 CLDevice() = default;
36 CLDevice(cl_device_id id, cl_platform_id platform_id);
38 CLDevice(CLDevice&& device);
39 CLDevice& operator=(CLDevice&& device);
40 CLDevice(const CLDevice&);
41 CLDevice& operator=(const CLDevice&);
43 ~CLDevice() {} in ~CLDevice()
62 absl::Status CreateDefaultGPUDevice(CLDevice* result);
Dcl_device.cc245 CLDevice::CLDevice(cl_device_id id, cl_platform_id platform_id) in CLDevice() function in tflite::gpu::cl::CLDevice
257 CLDevice::CLDevice(const CLDevice& device) in CLDevice() function in tflite::gpu::cl::CLDevice
260 CLDevice& CLDevice::operator=(const CLDevice& device) { in operator =()
269 CLDevice::CLDevice(CLDevice&& device) in CLDevice() function in tflite::gpu::cl::CLDevice
277 CLDevice& CLDevice::operator=(CLDevice&& device) { in operator =()
288 std::string CLDevice::GetPlatformVersion() const { in GetPlatformVersion()
292 void CLDevice::DisableOneLayerTextureArray() { in DisableOneLayerTextureArray()
296 absl::Status CreateDefaultGPUDevice(CLDevice* result) { in CreateDefaultGPUDevice()
316 *result = CLDevice(devices[0], platform_id); in CreateDefaultGPUDevice()
Denvironment.h37 explicit Environment(CLDevice&& device, CLContext&& context,
46 const CLDevice& device() const { return device_; } in device()
47 CLDevice* GetDevicePtr() { return &device_; } in GetDevicePtr()
48 const CLDevice* GetDevicePtr() const { return &device_; } in GetDevicePtr()
71 CLDevice device_;
Dprogram_cache.h47 const CLContext& context, const CLDevice& device, CLKernel* result);
52 const CLDevice& device, CLKernel* result);
55 const CLDevice& device,
57 absl::Status GetSerializedCache(const CLDevice& device,
Dprogram_cache.cc62 const CLContext& context, const CLDevice& device, CLKernel* result) { in GetOrCreateCLKernel()
81 const CLDevice& device, in GetOrCreateCLKernel()
87 const CLContext& context, const CLDevice& device, in AddSerializedCache()
123 const CLDevice& device, std::vector<uint8_t>* serialized_cache) const { in GetSerializedCache()
Dgl_interop.h58 bool IsClEventFromEglSyncSupported(const CLDevice& device);
72 bool IsGlSharingSupported(const CLDevice& device);
77 static bool IsSupported(const CLDevice& device);
Dcl_context.h54 absl::Status CreateCLContext(const CLDevice& device, CLContext* result);
55 absl::Status CreateCLGLContext(const CLDevice& device,
Dcl_program.h71 const CLContext& context, const CLDevice& device,
75 const CLDevice& device,
Dcl_context.cc84 absl::Status CreateCLContext(const CLDevice& device, in CreateCLContext()
143 absl::Status CreateCLContext(const CLDevice& device, CLContext* result) { in CreateCLContext()
147 absl::Status CreateCLGLContext(const CLDevice& device, in CreateCLGLContext()
Dcl_program.cc63 absl::Status BuildProgram(cl_program program, const CLDevice& device, in BuildProgram()
167 const CLContext& context, const CLDevice& device, in CreateCLProgram()
186 const CLDevice& device, in CreateCLProgramFromBinary()
Dcl_command_queue.h120 absl::Status CreateCLCommandQueue(const CLDevice& device,
124 absl::Status CreateProfilingCommandQueue(const CLDevice& device,
Denvironment.cc31 CLDevice gpu; in CreateEnvironment()
86 Environment::Environment(CLDevice&& device, CLContext&& context, in Environment()
242 CLDevice gpu; in CreateEnvironment()
Dcl_operation.h36 const CLDevice* device;
Dgl_interop.cc91 bool IsClEventFromEglSyncSupported(const CLDevice& device) { in IsClEventFromEglSyncSupported()
127 bool IsGlSharingSupported(const CLDevice& device) { in IsGlSharingSupported()
Dcl_command_queue.cc282 absl::Status CreateCLCommandQueue(const CLDevice& device, in CreateCLCommandQueue()
313 absl::Status CreateProfilingCommandQueue(const CLDevice& device, in CreateProfilingCommandQueue()
Dapi.cc842 CLDevice device; in Init()
847 device = CLDevice(options_.device, platform); in Init()
/external/angle/src/
DlibGLESv2.gni462 "src/libANGLE/CLDevice.h",
493 "src/libANGLE/CLDevice.cpp",