Skip to main content

driver_supports_conditional

Function driver_supports_conditional 

Source
pub fn driver_supports_conditional() -> Result<bool, GpuError>
Expand description

Probe whether the running CUDA driver supports conditional graphs. Returns Ok(true) if cuGraphConditionalHandleCreate is callable (i.e. CUDA ≥ 12.4 with the symbol present); Ok(false) otherwise; Err(GpuError::Unrecoverable) if the loader panics.