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

Function enqueueWaitOnActiveQueue

src/backend/oneapi/Event.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void enqueueWaitOnActiveQueue(af_event eventHandle) {
52 Event& event = getEvent(eventHandle);
53 // Use the currently-active stream
54 if (event.enqueueWait(getQueue()) != 0) {
55 AF_ERROR("Could not enqueue wait on active queue for event",
56 AF_ERR_RUNTIME);
57 }
58}
59
60void block(af_event eventHandle) {
61 Event& event = getEvent(eventHandle);

Callers

nothing calls this directly

Calls 2

enqueueWaitMethod · 0.80
getQueueFunction · 0.50

Tested by

no test coverage detected