Expand description
Graph-based kernel launch capture and replay.
CUDA Graphs allow recording a sequence of operations (kernel launches, memory copies, etc.) and replaying them as a single unit with reduced launch overhead. This module provides a lightweight capture facility that records kernel launch configurations for later replay or analysis.
§Example
let mut capture = GraphLaunchCapture::begin();
// In a real scenario you would record actual kernel launches:
// capture.record_launch(&kernel, ¶ms);
let records = capture.end();
println!("captured {} launches", records.len());Structs§
- Graph
Launch Capture - Captures a sequence of kernel launches for graph-based replay.
- Launch
Record - A recorded kernel launch operation.