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

Function makeEvent

src/backend/cpu/Event.cpp:24–28  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

createMethod · 0.45
markMethod · 0.45

Tested by

no test coverage detected