Skip to main content

cuGraphEventWaitNodeSetEvent

Function cuGraphEventWaitNodeSetEvent 

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

Sets an event wait node’s event.

Sets the event of event wait node hNode to event.

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

See also: cuGraphNodeSetParams, cuGraphAddEventWaitNode, cuGraphEventWaitNodeGetEvent, cuGraphEventRecordNodeSetEvent, cuEventRecordWithFlags, cuStreamWaitEvent.