Skip to main content

compute_smoke

Function compute_smoke 

Source
pub(crate) fn compute_smoke(device: Device) -> Result<()>
Expand description

Run a small end-to-end compute check on device: y = softmax(x @ w + b), compared elementwise against the same computation on CPU. Catches missing-ISA kernels, mislinked HIP libraries, and silent CPU fallback.