pub unsafe extern "C" fn cuGraphEventRecordNodeSetEvent(
hNode: CUgraphNode,
event: CUevent,
) -> CUresultExpand description
Sets an event record node’s event.
Sets the event of event record node hNode to event.
Note: This function will reset the node’s context to the event’s device context.
Note: Graph objects are not threadsafe. More here.
Note that this function may also return error codes from previous, asynchronous launches.
§Parameters
hNode: Node to set the event for.event: Event to use.
§Return value
CUresult::CUDA_SUCCESSCUresult::CUDA_ERROR_INVALID_VALUECUresult::CUDA_ERROR_INVALID_HANDLECUresult::CUDA_ERROR_OUT_OF_MEMORY
See also: cuGraphNodeSetParams, cuGraphAddEventRecordNode, cuGraphEventRecordNodeGetEvent, cuGraphEventWaitNodeSetEvent, cuEventRecordWithFlags, cuStreamWaitEvent.