Skip to main content

Module graph_launch

Module graph_launch 

Source
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, &params);
let records = capture.end();
println!("captured {} launches", records.len());

Structs§

GraphLaunchCapture
Captures a sequence of kernel launches for graph-based replay.
LaunchRecord
A recorded kernel launch operation.