Skip to main content

analyze_source

Function analyze_source 

Source
pub fn analyze_source(
    cu_src: &str,
    kernel: &str,
    arch: &str,
) -> Option<SassReport>
Expand description

The compiler emits cu_src, compiles it with nvcc to a cubin, and returns the SASS report — the backend “knowing” the machine code its codegen ultimately becomes. Requires nvcc + nvdisasm; returns None otherwise.