MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / makeEvent

Function makeEvent

src/backend/opencl/Event.cpp:26–30  ·  view source on GitHub ↗

\brief Creates a new event and marks it in the queue

Source from the content-addressed store, hash-verified

24namespace opencl {
25/// \brief Creates a new event and marks it in the queue
26Event makeEvent(cl::CommandQueue& queue) {
27 Event e;
28 if (e.create() == CL_SUCCESS) { e.mark(queue()); }
29 return e;
30}
31
32af_event createEvent() {
33 auto e = make_unique<Event>();

Callers

nothing calls this directly

Calls 3

queueClass · 0.85
createMethod · 0.45
markMethod · 0.45

Tested by

no test coverage detected