Skip to main content

cuGraphEventWaitNodeGetEvent

Function cuGraphEventWaitNodeGetEvent 

Source
pub unsafe extern "C" fn cuGraphEventWaitNodeGetEvent(
    hNode: CUgraphNode,
    event_out: *mut CUevent,
) -> CUresult
Expand description

Returns the event associated with an event wait node.

Returns the event of event wait node hNode in event_out.

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 get the event for.
  • event_out: Pointer to return the event.

§Return value

See also: cuGraphAddEventWaitNode, cuGraphEventWaitNodeSetEvent, cuGraphEventRecordNodeGetEvent, cuEventRecordWithFlags, cuStreamWaitEvent.