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

Function markEventOnActiveQueue

src/backend/cpu/Event.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void markEventOnActiveQueue(af_event eventHandle) {
42 Event& event = getEvent(eventHandle);
43 // Use the currently-active queue
44 if (event.mark(getQueue()) != 0) {
45 AF_ERROR("Could not mark event on active queue", AF_ERR_RUNTIME);
46 }
47}
48
49void enqueueWaitOnActiveQueue(af_event eventHandle) {
50 Event& event = getEvent(eventHandle);

Callers 2

createAndMarkEventFunction · 0.70
af_mark_eventFunction · 0.50

Calls 2

getQueueFunction · 0.50
markMethod · 0.45

Tested by

no test coverage detected