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

Function markEventOnActiveQueue

src/backend/oneapi/Event.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

createAndMarkEventFunction · 0.70

Calls 2

getQueueFunction · 0.50
markMethod · 0.45

Tested by

no test coverage detected