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

Function makeEvent

src/backend/cuda/Event.cpp:23–27  ·  view source on GitHub ↗

\brief Creates a new event and marks it in the queue

Source from the content-addressed store, hash-verified

21namespace cuda {
22/// \brief Creates a new event and marks it in the queue
23Event makeEvent(cudaStream_t queue) {
24 Event e;
25 if (e.create() == CUDA_SUCCESS) { e.mark(queue); }
26 return e;
27}
28
29af_event createEvent() {
30 // Default CUDA stream needs to be initialized to use the CUDA driver

Callers 2

reduce_by_key_dimFunction · 0.70
reduce_by_key_firstFunction · 0.70

Calls 2

createMethod · 0.45
markMethod · 0.45

Tested by

no test coverage detected