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

Function block

src/backend/cuda/Event.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

blockMethod · 0.45

Tested by

no test coverage detected