Skip to main content

Module cuda_graph

Module cuda_graph 

Source
Expand description

CUDA Graph RAII helpers for production graph capture/replay.

This module intentionally stays close to the CUDA driver API. The bounded CSM CUDA Graph path needs explicit graph lifetime ownership and node inventory before it can safely update graph-exec parameters for runtime pointers and capacity classes.

Structs§

CapturedCudaGraph
Instantiated CUDA Graph with owned graph + exec handles.
ConditionalCudaGraphBody
CUDA-owned body graph produced while adding one conditional-WHILE node.
ConditionalCudaGraphSequenceBuilder
Builds one dependency-ordered parent graph containing ordinary captured segments and any number of conditional-WHILE nodes.
CsmCudaGraphKey
CudaGraphNode
ScanTopology

Enums§

CsmCudaGraphJoinKind
CudaConditionalGraphUnavailable
CudaGraphNodeKind

Constants§

CSM_CUDA_GRAPH_NODE_LAYOUT_VERSION

Functions§

graph_capacity_class_u32
scan_topology_u32