check_arch

Function check_arch 

Source
pub fn check_arch(compiled_arch: &str, device_cc: (u32, u32)) -> Result<String>
Expand description

The verdict, without touching a GPU: Ok(line to log) or the mismatch.

Split out so the decision is testable on a host with no CUDA at all, which is every machine CI runs on.