Home
last modified time | relevance | path

Searched refs:CLEvent (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_event.cc24 CLEvent::CLEvent(cl_event event) : event_(event) {} in CLEvent() function in tflite::gpu::cl::CLEvent
26 CLEvent::CLEvent(CLEvent&& event) in CLEvent() function in tflite::gpu::cl::CLEvent
31 CLEvent& CLEvent::operator=(CLEvent&& event) { in operator =()
40 uint64_t CLEvent::GetStartedTimeNs() const { in GetStartedTimeNs()
47 uint64_t CLEvent::GetFinishedTimeNs() const { in GetFinishedTimeNs()
54 double CLEvent::GetEventTimeMs() const { in GetEventTimeMs()
62 uint64_t CLEvent::GetEventTimeNs() const { in GetEventTimeNs()
66 void CLEvent::SetName(const std::string& name) { name_ = name; } in SetName()
68 void CLEvent::Wait() const { clWaitForEvents(1, &event_); } in Wait()
70 CLEvent::~CLEvent() { Release(); } in ~CLEvent()
[all …]
Dcl_event.h29 class CLEvent {
31 CLEvent() {} in CLEvent() function
32 explicit CLEvent(cl_event event);
35 CLEvent(CLEvent&& event);
36 CLEvent& operator=(CLEvent&& event);
37 CLEvent(const CLEvent&) = delete;
38 CLEvent& operator=(const CLEvent&) = delete;
40 ~CLEvent();
Dgl_interop.h52 CLEvent* event);
87 CLEvent* acquire_event /* optional */,
93 CLEvent* release_event /* optional */);
134 CLEvent inbound_event_;
135 CLEvent outbound_event_;
Dgl_interop.cc77 CLEvent* event) { in CreateClEventFromEglSync()
86 *event = CLEvent(new_event); in CreateClEventFromEglSync()
134 CLEvent* acquire_event, in Acquire()
146 *acquire_event = CLEvent(new_event); in Acquire()
155 CLEvent* release_event) { in Release()
166 *release_event = CLEvent(new_event); in Release()
Dcl_command_queue.h80 Status EnqueueEvent(CLEvent* event);
83 int3 work_group_size, CLEvent* event);
138 std::vector<CLEvent> events_;
Dcl_command_queue.cc60 int3 work_group_size, CLEvent* event) { in DispatchImplicit()
72 *event = CLEvent(resulting_event); in DispatchImplicit()
86 Status CLCommandQueue::EnqueueEvent(CLEvent* event) { in EnqueueEvent()
89 *event = CLEvent(resulting_event); in EnqueueEvent()
193 events_.push_back(CLEvent()); in DispatchImplicit()
Dinference_context.h124 CLEvent prev_enqueue_start_point_;
/external/mesa3d/src/egl/main/
Deglsync.c57 sync->CLEvent = val; in _eglParseSyncAttribList()
115 if (type == EGL_SYNC_CL_EVENT_KHR && !sync->CLEvent) in _eglInitSync()
Deglsync.h50 EGLAttrib CLEvent; member
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c3380 dri2_sync->base.CLEvent); in dri2_create_sync()