Function cuGraphEventRecordNodeSetEvent

Source
pub unsafe extern "C" fn cuGraphEventRecordNodeSetEvent(
    hNode: CUgraphNode,
    event: CUevent,
) -> CUresult
Expand description

\brief Sets an event record node’s event

Sets the event of event record node \p hNode to \p event.

\param hNode - Node to set the event for \param event - Event to use

\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_HANDLE, ::CUDA_ERROR_OUT_OF_MEMORY \note_graph_thread_safety \notefnerr

\sa ::cuGraphNodeSetParams, ::cuGraphAddEventRecordNode, ::cuGraphEventRecordNodeGetEvent, ::cuGraphEventWaitNodeSetEvent, ::cuEventRecordWithFlags, ::cuStreamWaitEvent