check_sm_count

Function check_sm_count 

Source
pub fn check_sm_count(device_sms: u32, declared_sms: u32) -> Option<String>
Expand description

2026-09-25: Compare the device’s SM count with the target’s kernels/<hw>/HARDWARE.toml [hardware] sm_count: None when they are equal, otherwise a warning naming both numbers and the file. The caller logs it and carries on (preflight_device_arch_with).