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