fn compute_cap_compatible(rule_cap: &str, device_cap: &str) -> boolExpand description
Whether rule_cap can run on a device reporting device_cap.
PTX compiled for sm_X runs on any device with compute capability
>= sm_X. We accept strings of the form "sm_90" / "sm_86" and
do a numeric compare; anything else is treated as an exact-match
requirement.