Skip to main content

dependency_graph_from_cubin

Function dependency_graph_from_cubin 

Source
pub fn dependency_graph_from_cubin(
    cubin_path: &Path,
) -> Option<(Vec<SassInsn>, Vec<SassClass>, DepGraph)>
Expand description

Build the dependency DAG directly from a cubin, using nvdisasm to name each opcode (so classification — hence the read/write sets — is precise). Returns the graph paired with the parsed instructions. This is the mnemonic-aware, SOUND path the scheduler uses.