Home
last modified time | relevance | path

Searched refs:CLEvent (Results 1 – 12 of 12) 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.cc78 const EglSync& egl_sync, CLEvent* event) { in CreateClEventFromEglSync()
87 *event = CLEvent(new_event); in CreateClEventFromEglSync()
136 const std::vector<cl_event>& wait_events, CLEvent* acquire_event, in Acquire()
148 *acquire_event = CLEvent(new_event); in Acquire()
157 const std::vector<cl_event>& wait_events, CLEvent* release_event) { in Release()
168 *release_event = CLEvent(new_event); in Release()
212 CLEvent inbound_event; in Start()
240 CLEvent outbound_event; in Finish()
Dcl_command_queue.h57 const int3& work_group_size, CLEvent* event);
59 absl::Status EnqueueEvent(CLEvent* event);
116 std::vector<CLEvent> events_;
Dgl_interop.h55 const EglSync& egl_sync, CLEvent* event);
92 CLEvent* acquire_event /* optional */,
98 CLEvent* release_event /* optional */);
Dcl_command_queue.cc63 CLEvent* event) { in Dispatch()
75 *event = CLEvent(resulting_event); in Dispatch()
91 absl::Status CLCommandQueue::EnqueueEvent(CLEvent* event) { in EnqueueEvent()
94 *event = CLEvent(resulting_event); in EnqueueEvent()
200 events_.push_back(CLEvent()); in Dispatch()
Dinference_context.h155 CLEvent prev_enqueue_start_point_;
/external/llvm-project/parallel-libs/acxxel/
Dopencl_acxxel.cpp203 cl_event *CLEvent = static_cast<cl_event *>(H); in openCLEventDestroy() local
204 logOpenCLWarning(clReleaseEvent(*CLEvent), "clReleaseEvent"); in openCLEventDestroy()
205 delete CLEvent; in openCLEventDestroy()
214 cl_event *CLEvent = static_cast<cl_event *>(Event); in streamWaitOnEvent() local
217 CLEvent, nullptr), in streamWaitOnEvent()
445 cl_event *CLEvent = static_cast<cl_event *>(Event); in enqueueEvent() local
446 cl_event OldEvent = *CLEvent; in enqueueEvent()
451 *CLEvent = NewEvent; in enqueueEvent()
456 cl_event *CLEvent = static_cast<cl_event *>(Event); in eventIsDone() local
458 logOpenCLWarning(clGetEventInfo(*CLEvent, CL_EVENT_COMMAND_EXECUTION_STATUS, in eventIsDone()
[all …]
/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/angle/src/
DlibGLESv2.gni463 "src/libANGLE/CLEvent.h",
494 "src/libANGLE/CLEvent.cpp",
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c3380 dri2_sync->base.CLEvent); in dri2_create_sync()