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

Function block

src/backend/oneapi/Event.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void block(af_event eventHandle) {
61 Event& event = getEvent(eventHandle);
62 if (event.block() != 0) {
63 AF_ERROR("Could not block on active queue for event", AF_ERR_RUNTIME);
64 }
65}
66
67af_event createAndMarkEvent() {
68 af_event handle = createEvent();

Callers

nothing calls this directly

Calls 1

blockMethod · 0.45

Tested by

no test coverage detected