cuda.bindings._v2.driver.GraphKernelNodePort#
- class cuda.bindings._v2.driver.GraphKernelNodePort(value: int)#
Outgoing ports of a kernel node, for GraphEdgeData.from_port (CU_GRAPH_KERNEL_NODE_PORT_*).
- DEFAULT: 0
This port activates when the kernel has finished executing.
- PROGRAMMATIC: 1
This port activates when all blocks of the kernel have performed cudaTriggerProgrammaticLaunchCompletion() or have terminated. It must be used with edge type CU_GRAPH_DEPENDENCY_TYPE_PROGRAMMATIC. See also CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.
- LAUNCH_ORDER: 2
This port activates when all blocks of the kernel have begun execution. See also CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.