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

Function markEventOnActiveQueue

src/backend/cuda/Event.cpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

createAndMarkEventFunction · 0.70

Calls 2

getActiveStreamFunction · 0.85
markMethod · 0.45

Tested by

no test coverage detected